Replies: 1 comment 1 reply
-
Converting this to a discussion as it is not an issue in the components but in their application. Without source and details on how your app is running (Server/WAMS, rendermode, version, ...) it is impossible to know what is going on. As you can see in the first example on the right in the demo site, the menu closes when you click outside of it. It also uses the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I'm experiencing an issue with the FluentMenu component:
When I click outside the FluentMenu, it does not close automatically.
When I click on one of the buttons inside the menu, it closes as expected.
Additionally, the @bind-open callback is not being called regardless of whether UseMenuService is set to true or false.
Steps to Reproduce:
Create a FluentMenu component.
Set UseMenuService to either true or false.
Open the FluentMenu.
Click outside the FluentMenu: the menu remains open.
Click on one of the buttons inside the menu: the menu closes as expected.
Expected Behavior:
The FluentMenu should automatically close when clicking outside of it.
The @bind-open callback should be invoked when the menu is opened or closed.
Questions:
Is this the intended behavior for FluentMenu?
Should I manage the closing of the menu manually when clicking outside?
Any insights or guidance would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions