Answer the question
In order to leave comments, you need to log in
Opera 12: draggable=false ignores underlying draggable=true. How to decide?
Opera 12 error in html5 Drag and Drop. If draggable=false is set on an element, then it ignores the underlying draggable=true and dragging such an underlying element is not possible. Correct behavior (including according to the specification): if the element from which the draggable starts _is not draggable=true, then look for the parent with draggable=true and drag the whole tree up to the top element.
Example error jsfiddle.net/4z8Dc/1
How can this be resolved?
Opera 12 at the end of 2013 is 40% of the traffic on my projects.
Answer the question
In order to leave comments, you need to log in
Replace draggable=false
with draggable=auto
(or delete altogether). I don't see another way (after a cursory reading of dev.opera.com/articles/view/drag-and-drop ).
I already read this. The bottom line is that in my example div
, but in real life it draggable=false
is set to tags a
or img
, which by default draggable=true
is therefore draggable=auto
not suitable. For example, if you need to drag menu items.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question