#17759 closed defect (fixed)
ResizeHandle does not work on a dndItem (IE10)
Reported by: | towby | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.9 |
Component: | DojoX Layout | Version: | 1.9.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Using a dojox.layout.ResizeHandle? on a dojo.dnd.Source item does not work in IE 10. The resize handle cannot be used because the onMouseDown event handler of dojo.dnd.Source handles it as a drag start event.
I attached a test page to demonstrate that behavior. In FF or IE < 10, the handle can correctly be used to resize the elements, in IE 10, the handle does not work because the drag is started. This behavior may also occur in IE 11.
Attachments (1)
Change History (12)
Changed 7 years ago by
Attachment: | Dojo.Ticket.17759.Dnd.Resize.Bug.html added |
---|
comment:1 Changed 6 years ago by
The resize handle cannot be used because the onMouseDown event handler of dojo.dnd.Source handles it as a drag start event.
Hmm, I don't understand why the dnd code is seeing the mousedown event when ResizeHandle? calls eventUtil.stop().
comment:2 Changed 6 years ago by
I just tried the testpage again in IE 10. The resize handle actually does work correctly now but the DND container seems to be broken because drag and drop on the nodes doesn't work anymore
Maybe the dnd problem causes the handle to work correctly again because the event isn't intercepted.
And even if the ResizeHandle? calls eventUtil.stop(e) the resize mousedown callback needs to get called before the drag callback for this to take effect, doesn't it? As far as I can remember the situation, the drag callback was executed first.
comment:3 Changed 6 years ago by
Milestone: | tbd → 1.8.9 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
OK, I'll fix, and backport to 1.10.3, 1.9.6, and 1.8.9. (This is a regression due to #15185.)
comment:4 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Test page to demonstrate the resize bug on a dndItem