Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhoconfig WebView.enableDragAndDrop = 0 is ineffective #907

Open
jtara opened this issue Oct 2, 2017 · 2 comments
Open

rhoconfig WebView.enableDragAndDrop = 0 is ineffective #907

jtara opened this issue Oct 2, 2017 · 2 comments
Assignees

Comments

@jtara
Copy link

jtara commented Oct 2, 2017

In f7a7a7e a feature was added to enable global drag-and-drop for >= iOS 11.

The rhoconfig.txt setting:

WebView.enableDragAndDrop = 0

seems ineffective.

@jtara
Copy link
Author

jtara commented Oct 2, 2017

I worked-around by calling WebView.enableDragAndDrop(false) in application.rb activated callback if ui was created:

    if @@ui_created
      WebView.enableDragAndDrop = false
    end

I wonder if parser for rhoconfig.txt doesn't like the period character in the key?

@dmitrys
Copy link
Contributor

dmitrys commented Oct 2, 2017

Hm... I checked with rhoconfig.txt and on my site it is worked.
I added this feature by customer request - they has problems with D&D on iOS 11.0 devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants