Popover button: put its tooltip away even before it has shown #1025
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1025
Loading…
Reference in a new issue
No description provided.
Delete branch "1015-escape-race"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #917 (follow-up to #1015).
What changed
app.js: when a[data-popover]opens, the place of the button that opens it (popovertarget) is marked spent even if its tooltip is not open yet. Before, only a tooltip already open was put away.Why
The tooltip is placed a frame after the focus arrives. On a loaded runner the Enter that opens the panel came first, so the tooltip showed after the panel and took the first Escape.
test_the_keyboard_opens_it_and_escape_closes_it_and_returns_the_focusfailed in CI on the browser job (Locator expected to be hidden, popover still visible).Tests
tests/e2e/test_company_names_popover.pypasses locally (3 passed). I could not reproduce the race locally, so only CI under load will show it holds.Library check
None needed.
🤖 Generated with Claude Code