Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix throw when header menu contains no tabbable nodes #3733

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

Pytal
Copy link
Contributor

@Pytal Pytal commented Feb 8, 2023

Fix focus trap error throw "Your focus-trap must have at least one container with at least one tabbable node in it at all times" with fallbackFocus option documented in https://github.com/focus-trap/focus-trap#createoptions

This occurs e.g. when opening the notifications menu when there are no notifications
image

@Pytal Pytal added bug Something isn't working 3. to review Waiting for reviews labels Feb 8, 2023
@Pytal Pytal added this to the 7.6.0 milestone Feb 8, 2023
@Pytal Pytal self-assigned this Feb 8, 2023
Copy link
Contributor

@raimund-schluessler raimund-schluessler left a comment

Choose a reason for hiding this comment

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

Works 👍

@nickvergessen nickvergessen requested review from Antreesy and removed request for nickvergessen February 8, 2023 08:10
@JuliaKirschenheuter
Copy link
Contributor

works!

@raimund-schluessler raimund-schluessler merged commit d53a8f8 into master Feb 8, 2023
@raimund-schluessler raimund-schluessler deleted the fix/header-menu-focus-throw branch February 8, 2023 11:20
@Pytal Pytal mentioned this pull request Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants