Opened 12 years ago

Closed 11 years ago

#4613 closed defect (fixed)

Dialog: drop down doesn't close when dragging dialog

Reported by: bill Owned by: liucougar
Priority: high Milestone: 1.2
Component: Dijit Version: 0.9
Keywords: Cc: Eugene Lazutkin
Blocked By: Blocking:

Description (last modified by liucougar)

See test_Dialog.html. Open the dialog, focus on the date text field, and then move the dialog.

Also happens in themeTester.html with the ComboBox drop down from it's dialog.

Change History (6)

comment:1 Changed 11 years ago by alex

Milestone: 2.01.3

Milestone 2.0 deleted

comment:2 Changed 11 years ago by bill

Description: modified (diff)
Summary: Dialog: drop down doesn't close when moving dialogDialog: drop down doesn't close when dragging dialog

Possibly problem is that the stopEvent() call in the DnD Moveable.js code prevents this code in focus.js from executing:

dojo.connect(targetWindow.document, "onmousedown", null, function(evt){
			dijit._justMouseDowned = true;
			setTimeout(function(){ dijit._justMouseDowned = false; }, 0);
			dijit._onTouchNode(evt.target||evt.srcElement);
		});

Not sure why the stopEvent() call in Moveable is needed; will talk to Eugene about it.

comment:3 Changed 11 years ago by liucougar

Description: modified (diff)
Milestone: 1.31.2

a patch is proposed in #6544

comment:4 Changed 11 years ago by Eugene Lazutkin

Cc: Eugene Lazutkin added

comment:5 Changed 11 years ago by liucougar

Owner: set to liucougar

comment:6 Changed 11 years ago by liucougar

Resolution: fixed
Status: newclosed

(In [13348]) fixes #4613 and #6544

Note: See TracTickets for help on using tickets.