Ticket #6544 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

when moving dialog, popups (tooltipdialog etc) stays open

Reported by: liucougar Owned by: liucougar
Priority: normal Milestone: 1.2
Component: Dijit Version: 1.1.0
Severity: normal Keywords:
Cc: elazutkin

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

Changed 4 months 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.

Changed 4 months ago by bill

  • status changed from new to closed
  • resolution set to duplicate

Changed 4 months ago by elazutkin

  • cc elazutkin added
  • keywords elazutkin removed

Changed 4 months ago by liucougar

  • resolution changed from duplicate to fixed

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

Note: See TracTickets for help on using tickets.