Open crh3675 opened 5 years ago
nodrag attribute causes weird behavior. I move the functionality and works perfectly!
(cont = el.container || el)[addEventListener](
mousedown,
cont.md = function(e) {
if (!el.hasAttribute('nochilddrag') ||
_document.elementFromPoint(
e.pageX, e.pageY
) == cont
) {
pushed = 1;
lastClientX = e.clientX;
lastClientY = e.clientY;
var tag = e.target;
if (!tag.hasAttribute('nodrag')) {
e.preventDefault();
}
}
}, 0
);```
Just try on an iPhone