Opened 5 years ago

Last modified 2 years ago

#17488 new defect

Moveable widget doesn't get focus on move

Reported by: IlianYotov Owned by:
Priority: undecided Milestone: 1.15
Component: DnD Version: 1.9.0
Keywords: Cc:
Blocked By: Blocking:

Description

А moveable widget couldn't receive focus when аn user click on the move handler.

This bug affects all versions after dojo 1.6 ( I'm not sure for versions before 1.6 )

After research of what's going on, I found that dojo dnd calls stopPropagation of the mousedown event( in dojo/dnd/Moveable onMouseDown method ) and this event doesn't reach document mousedown handler registered from dijit/focus to detect focus change.

Example: http://jsfiddle.net/63XHQ/2/

Change History (3)

comment:1 Changed 5 years ago by bill

Component: DijitDnD

Yes, similar to #16157. The workaround is to use a drag handle.

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.12

comment:3 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.