Opened 12 years ago

Closed 11 years ago

Last modified 8 years ago

#6269 closed defect (fixed)

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

Reported by: guest Owned by: Douglas Hays
Priority: high Milestone: 1.2
Component: Dijit - Form Version: 1.1b1
Keywords: Cc: Douglas Hays
Blocked By: Blocking:

Description (last modified by bill)

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 (10)

comment:1 Changed 12 years ago by Douglas Hays

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.

comment:2 Changed 12 years ago by Douglas Hays

Summary: popup div flashes at bottom of page briefly when escaping from TooltipDialog and FilteringSelectFF2 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.

comment:3 Changed 12 years ago by Douglas Hays

Owner: set to bill

comment:4 Changed 12 years ago by bill

Milestone: 1.2
Priority: normalhigh

comment:5 Changed 11 years ago by bill

Cc: Douglas Hays 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.

comment:6 Changed 11 years ago by Douglas Hays

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.

comment:7 Changed 11 years ago by Douglas Hays

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

comment:8 Changed 11 years ago by Douglas Hays

Owner: changed from bill to Douglas Hays
Status: newassigned

comment:9 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

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

comment:10 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.