Search and Top Navigation
#10436 closed bug (notabug)
Opened July 31, 2014 05:46PM UTC
Closed August 01, 2014 01:06PM UTC
event.preventDefault() in _mouseDown causes problems with sortable tables
Reported by: | alexwilliams | Owned by: | alexwilliams |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.sortable | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When making the <tr> tags sortable in a grid, the line
event.preventDefault()in the function
_mouseDownwithin the
ui.mousewidget can cause the table to stop responding. Removing
event.preventDefault()seems to resolve the issue with no ill effects.
Attachments (0)
Change History (3)
Changed August 01, 2014 12:06PM UTC by comment:1
component: | ui.core → ui.sortable |
---|---|
owner: | → alexwilliams |
status: | new → pending |
Changed August 01, 2014 12:43PM UTC by comment:2
status: | pending → new |
---|
Thank you for setting up the fiddle to get me started. I will be sure to any future bugs I find using jsFiddle in the future.
I noticed this particular problem a few weeks ago. Apparently, it was a bug in jQuery.DataTables since after upgrading to the latest version I do not observe this behavior anymore.
Changed August 01, 2014 01:06PM UTC by comment:3
resolution: | → notabug |
---|---|
status: | new → closed |
Hi alexwilliams,
Thanks for taking the time to contribute to jQuery UI. Can you please create a reduced test case that shows this behavior? You can use this as a starting point: http://jsfiddle.net/tj_vantoll/4p6QQ/.
Thanks.