#11128 closed defect (invalid)
dojo.dnd Internet Explorer 6, 7 & 8 text selection issues
Reported by: | gstanevicius | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | DnD | Version: | 1.4.2 |
Keywords: | IE, dojoDndHandle, selection | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
When using code like this:
<div dojoType="dojo.dnd.Source" withHandles="true"> <div class="dojoDndItem"> <span class="dojoDndHandle">handle only here</span> <input type='text' value='cant select text with IE here'/> </div> </div>
on IE you can't select text in dojoDndItem
, but outside dojoDndHandle
element. With other browsers it works as expected.
Attachments (1)
Change History (5)
Changed 11 years ago by
comment:1 Changed 11 years ago by
Milestone: | tbd → future |
---|---|
Status: | new → assigned |
comment:2 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | assigned → closed |
This is a known behavior. In order to skip DnD processing for form elements use skipForm: true
, or, like in your example:
<div dojoType="dojo.dnd.Source" withHandles="true" skipForm="true"> <div class="dojoDndItem"> <span class="dojoDndHandle">handle only here</span> <input type='text' value='cant select text with IE here'/> </div> </div>
comment:3 Changed 8 years ago by
Using the tag "skipForm: true" is not solving the problem. I still not able to copy/paste the content in IE and Chrome.
comment:4 Changed 8 years ago by
Works for me. I pasted the code above into dojo/tests/dnd/test_dnd.html and I can select the text on both IE8 and chrome/mac.
Note: See
TracTickets for help on using
tickets.
full example to test