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

[Feature]: Clicking on submenu button should not close the submenu. #31842

Open
1 task done
abhpande09 opened this issue Jun 27, 2024 · 1 comment
Open
1 task done

Comments

@abhpande09
Copy link

Library

React Components / v9 (@fluentui/react-components)

Describe the feature that you would like added

Existing Behavior
When user clicks on a submenu button, it closes the submenu if the submenu was open. Sharing a video of this behavior.
https://github.com/microsoft/fluentui/assets/174004694/855d9ecd-e35a-4a95-a714-445107a81173

Desired Behavior
Sub menu should not close when user clicks on the submenu button. The behavior should match that of V8 Contextual Menu.

Have you discussed this feature with our team

ling1726

Additional context

No response

Validations

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Priority

Normal

@ling1726
Copy link
Member

This would be a new feature request that is opt in. since it this could impact expected behaviors for other users.

This can currently be achieved by controlling the open state of the submenu and keeping the menu open on the click event

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

No branches or pull requests

3 participants