Closed Bug 329489 Opened 19 years ago Closed 18 years ago

Process onchange after leaving focus but before deciding where to go

Categories

(Firefox :: Keyboard Navigation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timwi, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Scenario: * Page contains: - element X (has focus) - element Y (initially invisible) - element Z * User changes element X (e.g. by typing, or selecting from a drop-down) * User presses Tab key. OnChange event fires * OnChange causes element Y to become visible * Focus jumps to element Z, seemingly skipping element Y which just appeared My suggestion is to process onChange (and onFocusLeave or whatever it's called) before deciding what element should receive focus next. Reproducible: Always Steps to Reproduce:
What's the behaviour in firefox 1.5.0.1?
As described.
Please attach an HTML file that illustrates the problem you're describing.
Attached file Test case
This was fixed in trunk sometime last year but we didn't want to take any more risky focus fixes for Firefox 1.5. You'll have to wait until Firefox 3 for the fix. Not sure what the bug # was. You can get a test trunk build here: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: