We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d864cae commit b4e5c21Copy full SHA for b4e5c21
source/js/jquery-sortable.js
@@ -98,9 +98,9 @@
98
$("body").removeClass("dragging")
99
},
100
// Called on mousedown. If falsy value is returned, the dragging will not start.
101
- // If clicked on input element, ignore
+ // Ignore if element clicked is input, select or textarea
102
onMousedown: function ($item, _super, event) {
103
- if (!event.target.nodeName.match(/^(input|select)$/i)) {
+ if (!event.target.nodeName.match(/^(input|select|textarea)$/i)) {
104
event.preventDefault()
105
return true
106
}
0 commit comments