Opened 11 years ago
Closed 11 years ago
#10731 closed defect (duplicate)
dojox.gfx.Moveable used with delay can get into bad state
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX GFX | Version: | 1.4.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Steps:
- Use dojox.gfx.Moveable on a shape and have a delay (a larger delay will cause this issue to be more prominant).
- Drag quickly on the shape to the outside such that the mouse move interval exceeds the drag and then mouse-up outside of the shape.
- move mouse back over the shape...
Result:
- If you are handling the onFirstMove override, then you may be creating feedback while your mouse button is up. From the user standpoint they have released the mouse and the gesture should be over.
Expected:
- Probably the move should be terminated when the mouse leaves the shape because the internal exceeded the delay.
I have attached a file with suggested changes in dojox.gfx.Moveable. Basically a handler for "onMouseLeave" has been added that checks if the move hasn't been started and calls this.onMouseUp to terminate the move.
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | General → DojoX GFX |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
this should be closed - http://bugs.dojotoolkit.org/ticket/10732 has the proper content and attachments