Ticket #6269 (closed defect: fixed)

Opened 8 months ago

Last modified 4 months ago

FF2 only: popup div flashes at bottom of page briefly when escaping from TooltipDialog and FilteringSelect

Reported by: guest Owned by: doughays
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1b1
Severity: normal Keywords:
Cc: doughays

Description (last modified by bill) (diff)

Under FireFox 2, when the escape key is pressed while focus is in TooltipDialog or the dropdown of FilteringSelect, the popup div at the bottom of the page flashes briefly. This can be seen in the nightly tests for both TooltipDialog and FilteringSelect - watch the scroll-bar when hitting the escape key. A simple example can also be seen at popup flash - click the button to get the TooltipDialog, hit the escape key, and watch closely! I didn't see this until 1.1b3. Here is the dojo.version string: 1.1.0dev (12867) major=1 minor=1 patch=0 flag=dev revision=12867

dba@…

Change History

Changed 8 months ago by doughays

http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_TooltipDialog.html Open the "Show Tooltip Dialog" and press ESC, and the window flashes AND scrolls the button to the top. If I focus the TooltipDialog? and not the first TextBox? widget (click the unsued area of the dialog), then press ESC, the dialog closes quietly.

Changed 8 months ago by doughays

  • summary changed from popup div flashes at bottom of page briefly when escaping from TooltipDialog and FilteringSelect to FF2 only: popup div flashes at bottom of page briefly when escaping from TooltipDialog and FilteringSelect

The tooltipdialog with tabcontainer doesn't seem to have this problem.

If <input> is added to the content of the tooltipdialog+tabcontainer test, and you focus the input box, then press ESC, it also flashes and scrolls. This seems likely to be a FF2-specific problem or a focus manager problem. I verified that this scenario works OK on FF3b4 and safari.

Changed 8 months ago by doughays

  • owner set to bill

Changed 8 months ago by bill

  • priority changed from normal to high
  • milestone set to 1.2

Changed 4 months ago by bill

  • cc doughays added
  • description modified (diff)

Doug, is this still happening for you? I tried your instructions on FF 2.0.0.14 but didn't see any flash or scrolling.

Changed 4 months ago by doughays

This is still occurring on FF2. Run test_TooltipDialog.html, scroll the vertical scroll bar just a little bit so the Show Dialog button is closer to the top of the window, then click it and ESC the dialog. The window scrolls to scrolTop=0 unnecessarily.

Changed 4 months ago by doughays

The window does not scroll if the Order button is pressed to cloes the dialog.

Changed 4 months ago by doughays

  • status changed from new to assigned
  • owner changed from bill to doughays

Changed 4 months ago by doughays

  • status changed from assigned to closed
  • resolution set to fixed

(In [14489]) Fixes #6269. Killed the ESC key event since the default behavior was causing grief in FF2.

Note: See TracTickets for help on using tickets.