We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6913959 commit 1984c80Copy full SHA for 1984c80
interact.js
@@ -3093,7 +3093,7 @@
3093
var options = interactable.options,
3094
prevent = options.preventDefault;
3095
3096
- if (prevent === 'auto' && element && !/^(input|select|textarea)$/i.test(element.nodeName)) {
+ if (prevent === 'auto' && element && !/^(input|select|textarea)$/i.test(event.target.nodeName)) {
3097
// do not preventDefault on pointerdown if the prepared action is a drag
3098
// and dragging can only start from a certain direction - this allows
3099
// a touch to pan the viewport if a drag isn't in the right direction
0 commit comments