-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Description
context:
LGTM ~ Circling back to the Dialog component, it appears like the Figma SDS storybook has a focus trap active when focused on a Tooltip, until a user presses 'escape'. Could we either create an issue and throw that in the backlog so we can merge this now, or see if it would be do-able for this focus trap being that it's one element?
I did a little search and found someone who made a re useable component for this ~ it would need to be tested, but might be helpful? [link](https://levimcg.com/blog/focus-trapping-web-component/)
They included a demo which can be viewed here: [here](https://levimcg.github.io/focus-trapper/)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request