Skip to content

Commit

Permalink
fixes #18986, DnD source prevent text selection when handles are bein…
Browse files Browse the repository at this point in the history
…g used
  • Loading branch information
dylans committed Jun 6, 2017
1 parent 3ec7ae9 commit 7d6cf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnd/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ var Container = declare("dojo.dnd.Container", Evented, {
// event processor for onselectevent and ondragevent
// e: Event
// mouse event
if(!this.skipForm || !dnd.isFormElement(e)){
if(!this.withHandles && (!this.skipForm || !dnd.isFormElement(e))){
e.stopPropagation();
e.preventDefault();
}
Expand Down

0 comments on commit 7d6cf4d

Please sign in to comment.