-
Notifications
You must be signed in to change notification settings - Fork 25
fix(navigation-primary): hamburger standalones toggle state #2462
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(navigation-primary): hamburger standalones toggle state #2462
Conversation
🦋 Changeset detectedLatest commit: 55b7f81 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
❌ Deploy Preview for red-hat-design-system failed. Why did it fail? →
|
Size Change: -71 B (-0.03%) Total Size: 235 kB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The closing behavior of the menu toggle on the left is different than the search and "For you" toggles on the right. Eg:
- < 1200px, tab from the Red Hat logo to the menu toggle
- Open the menu toggle via the Enter key
- Hit tab to set focus to "AI"
- Hit shift + tab to return focus to the menu toggle. (Menu closes)
Contrast this behavior to Search / For You, when shift tabbing from inside the open dropdown, the dropdown stays open.
This is not necessarily a blocker, just a curious difference between the two menus.
Good catch, this shouldn't be different, you are correct, I don't believe we should be closing the menu until we leave entirely the focus of the "summary" itself eg from menu back to logo, or from contents of menu to the next menu or item in the nav bar.. |
…yDropdowns it is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Legitimately Great Tab Management
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamjohnson can you just quickly validate the jsdocs i added?
What I did
Reported by @zhawkins 🙇
Testing Instructions
Notes to Reviewers