Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6544 closed defect (fixed)

when moving dialog, popups (tooltipdialog etc) stays open

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

Description

open test_Dialog.html, click the first button, click into field Date (or Time), so that the popup is shown

now try moving the dialog around, the opened popup won't be closed

my proposed solution is to change line 61 in dojo/dnd/Movable.js from

dojo.stopEvent(e);

to

e.preventDefault();

so that the event can propogate to the top document and the diijit popup manager can close any opened popups properly, while preventDefault will prevent the mouseDown event to select anything

(I think there may be some other dojo.stopEvent in dijit/dojo which should be changed to preventDefault too)

Change History (4)

comment:1 Changed 11 years ago by bill

Keywords: elazutkin added

It sounds like it will work although of course a bit of a scary change; CC'ing Eugene. This is actually a dup of #4613 and #6160, so closing this ticket in favor of #4613. Also somewhat related to #4600 and #5777.

comment:2 Changed 11 years ago by bill

Resolution: duplicate
Status: newclosed

comment:3 Changed 11 years ago by Eugene Lazutkin

Cc: Eugene Lazutkin added
Keywords: elazutkin removed

comment:4 Changed 11 years ago by liucougar

Resolution: duplicatefixed

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

Note: See TracTickets for help on using tickets.