Open
Bug 184533
Opened 22 years ago
Updated 2 years ago
Focus on select/option can get stuck if hide/show list using style.display='none'
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
NEW
People
(Reporter: Rob.Jones, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 When using dhtml to hide a select list once a choice is made the focus can get stuck. I attach two testcases. The first uses onChange=autoHide to hide the div containing the select when a selection is made. If the list is then reset (see code) and then shown the focus is still there. The second testcase goes through manual hiding and showing, calling the same code as the automatic hide but the focus does not get stuck. Take a look at the testcases and if you want more explanation let me know. Reproducible: Always Steps to Reproduce: 1. Follow instructions in testcases.
Comment 3•22 years ago
|
||
Confirming... jkeiser, this seems like something you would be interested in, no?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•22 years ago
|
||
This is a focus/ESM bug, really... not sure what the right component is for it.
Comment 5•22 years ago
|
||
Actually, it doesn't look like focus is actually stuck--there's just a bit somewhere that the select must be keeping around that indicates focus. I don't think this is ESM. Layout: Form Controls I bet.
Assignee: jst → form
Component: DOM Style → Layout: Form Controls
QA Contact: ian → tpreston
Updated•15 years ago
|
Assignee: layout.form-controls → nobody
QA Contact: tpreston → layout.form-controls
Comment 6•11 years ago
|
||
It's unclear to me what this bug is about. If it's about showing a focus outline around an empty option for "data:text/html,<select size=4></select>" when you click on it, then this bug is invalid because that's intentional.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•