Does Cordoba prevent web pages from being dragged to field focus?

I have these settings in my config.xml

<preference name="DisallowOverscroll" value="true" />
<preference name="UIWebViewBounce" value="false" />

I also use this CSS in a container with a field

overflow:hidden;
-webkit-touch-callout:none;
-webkit-user-select:none;
user-select:none;

This disables scrolling, but if I click / focus the field and drag, my container is still dragging. How to disable this? This only happens when I touch the field and drag it.

Edit: I removed the UIWebViewBounce preference as it is not supported by Cordova, but still the same result.

+4
source share
2 answers

Only a response to closing. The problem was not related, an error occurred in my code at a different level.

0
source

user-drag: none;
-webkit-user-drag: none; 

draggable false HTML-

. : https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable

+1

Source: https://habr.com/ru/post/1658455/


All Articles