Skip to content

Register the focus-trap element only if it isn't already#1

Merged
daneah merged 1 commit intomasterfrom
conditionally-register-element
Dec 22, 2020
Merged

Register the focus-trap element only if it isn't already#1
daneah merged 1 commit intomasterfrom
conditionally-register-element

Conversation

@daneah
Copy link
Member

@daneah daneah commented Dec 22, 2020

Copy link

@jialin-he jialin-he left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Copy link

@Niznikr Niznikr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solution would remove the need of pharos-focus-trap right?

@daneah
Copy link
Member Author

daneah commented Dec 22, 2020

@Niznikr correct, we wouldn't need the wrapper given this change.

@daneah daneah merged commit f383bdd into master Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants