Opened 10 years ago

Closed 6 years ago

#14816 closed defect (patchwelcome)

dojo.dnd.Selector ignores "skipForm: true" in non-IE browsers

Reported by: ccovington Owned by: Eugene Lazutkin
Priority: undecided Milestone: 1.13
Component: DnD Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:


When using dojo.dnd.Selector, the skipForm flag is ignored when set to "true" in browsers other than Internet Explorer. Converting the affected container to a dojo.dnd.Source container allows form elements to be properly handled. While trying to debug, I noticed that during the onMouseDown event for the Selector, the current selection (this.current) is always null.

Reproduction (programmatically):

  1. Create a dojo.dnd.Selector container with the skipForm set to true.
  2. Create an empty div.
  3. Add a dijit.form.TextBox? to the div.
  4. Insert the div into the Selector container.
  5. Notice that selecting text within the TextBox? does not work correctly under non-IE browsers.
  6. Change the container to a dojo.dnd.Source element.
  7. Notice that text selection works correctly.

Tested browsers:

  • Internet Explorer 8 (works correctly)
  • Firefox 3.6 - 9.0 (ignores flag)
  • Safari 5.1.2 (ignores flag)
  • Opera 11.6 (ignores flag)
  • Chrome 18.0 (ignores flag)

Change History (1)

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.