-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.untriaged
Description
Summary
According to our docs:
When the popover is closed, focus returns to the element that launched it
I tried testing this out and it is not the case when the popover closes... unless I'm misinterpreting the docs somewhere? I'm not sure if this is working as intended or is a bug, to be honest. Happy to log an issue if it's undesired behaviour, and work on it too 🙏
Expected behavior
I was expecting focus to return to the button "More actions" once the popover closed.
Actual behavior
Instead, focus is lost and restarts at the beginning of the page.
Steps to reproduce
Are you using React components?
Yes
Polaris version number
latest
Browser
Chrome
Device
MacOS
Metadata
Metadata
Assignees
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.untriaged
