#18986 closed defect (fixed)
DnD source prevent text selection when handles are being used.
Reported by: | denovichas | Owned by: | dylan |
---|---|---|---|
Priority: | high | Milestone: | 1.9.12 |
Component: | DnD | Version: | 1.10.8 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
onSelectStart() in Container.js doesn't not check for the use of handles and stops the mouse click event from propagation to allows the selection of text for coping. The function should be;
onSelectStart: function(e){ // summary: // event processor for onselectevent and ondragevent // e: Event // mouse event if(!this.withHandles && (!this.skipForm || !dnd.isFormElement(e))){ e.stopPropagation(); e.preventDefault(); } },
Change History (8)
comment:1 Changed 4 years ago by
Milestone: | tbd → 1.12.3 |
---|---|
Owner: | set to dylan |
Priority: | undecided → high |
Status: | new → assigned |
comment:2 Changed 4 years ago by
comment:8 Changed 4 years ago by
Milestone: | 1.12.3 → 1.9.12 |
---|
Backported to 1.9.x. If we need it earlier, we need a separate patch for earlier versions of Dojo. Thanks!
Note: See
TracTickets for help on using
tickets.
PR created at https://github.com/dojo/dojo/pull/262