Popover with overflow != hidden traps focus within the popover (Only Tab! Shift + Tab works)
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox148 | --- | wontfix |
| firefox149 | --- | wontfix |
| firefox150 | --- | wontfix |
| firefox151 | --- | fixed |
People
(Reporter: fabio.gimmillaro, Assigned: ltenenbaum)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0
Steps to reproduce:
<button popovertarget="popover">
Hello
</button>
<!-- The popover must have an overflow != hidden and auto -->
<div popover="auto" style="overflow: visible;" id="popover">
<button>Focus me</button>
</div>
- Click on button
- Press "Tab" repeatedly
- Focus always stays in popover
With Shift+Tab everything works as expected
Actual results:
Focus always stays in popover
Expected results:
The popover should behave like a popover with "overflow: hidden"
| Reporter | ||
Comment 1•3 months ago
|
||
The bug is better visible when using multiple buttons within the popover:
<button popovertarget="popover1">
Hello
</button>
<div popover="auto" style="overflow: visible;" id="popover1">
<button>Focus me</button>
<button>Focus me</button>
<button>Focus me</button>
<button>Focus me</button>
</div>
Comment 2•3 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•3 months ago
|
||
Emilo, looks like you maintain the popover focus management even though it's implemented by zsun, could you take a look?
Comment 4•3 months ago
|
||
Mozregression says this comes from https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=aeea9a31b2c94462223e736498648ee2e63ad96e&tochange=80a923b84e3b50a1e06294e17785c3df9b477ccb
Updated•3 months ago
|
Comment 5•3 months ago
|
||
Set release status flags based on info from the regressing bug 1972609
:keithamus, since you are the author of the regressor, bug 1972609, could you take a look?
For more information, please visit BugBot documentation.
Updated•3 months ago
|
| Assignee | ||
Comment 6•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 7•2 months ago
|
||
This has been fixed by the patch for bug 1955857.
Updated•2 months ago
|
Updated•1 month ago
|
Description
•