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(Menu): update drilldown transition event handler #10839

Merged
merged 4 commits into from
Aug 12, 2024

Conversation

kmcfaul
Copy link
Contributor

@kmcfaul kmcfaul commented Aug 6, 2024

What: Closes #10840

Updates the logic for Menu to only include the drilldown transition handler when the Menu is a drilldown (after transitions were added in core to the base Menu, this event handler was firing for all Menus instead of only Drilldowns).

Updates the logic in Dropdown/Select/MenuContainer to focus the first item on an isOpen change rather than in the click handler.

Adds shouldFocusFirstItemOnOpen to MenuContainer for parity.

@patternfly-build
Copy link
Contributor

patternfly-build commented Aug 6, 2024

@thatblindgeye thatblindgeye self-requested a review August 7, 2024 12:29
@kmcfaul kmcfaul linked an issue Aug 7, 2024 that may be closed by this pull request
@tlabaj tlabaj merged commit 3601778 into patternfly:v6 Aug 12, 2024
13 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

menu - menu focusing issue.
4 participants