Opened 8 years ago
Closed 8 years ago
#13994 closed defect (fixed)
Tree: replace stopEvent with preventDefault in tree._dndSelector.onMouseDown
Reported by: | Simon Speich | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Dijit | Version: | |
Keywords: | tree, drag and drop, dnd | Cc: | |
Blocked By: | Blocking: |
Description
dijit.tree._dndSelector.onMouseDown() calls event.stop(e) on line 185 to prevent the browser from selecting text when the user drags. But this prevents using the event mouseDown higher up in the DOM hierarchy and should therefore be replaced with e.preventDefault() instead, which prevents the selecting, but does not cancel the bubbling up.
Change History (2)
comment:1 Changed 8 years ago by
Milestone: | tbd → 1.7 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
Summary: | Replace stopEvent with preventDefault in tree._dndSelector.onMouseDown → Tree: replace stopEvent with preventDefault in tree._dndSelector.onMouseDown |
comment:2 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In [26668]: