You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I make use of the hover style (--fluent-profile-menu-hover) on the outer FluentPersona, and would like to keep that engaged while the popover is visible. I also think it could be a nice to have feature for the menu itself, without us needing to hook into a change event to try to figure that out. However, the OpenChanged event would be a nice to have either way.
The text was updated successfully, but these errors were encountered:
FluentMenuProvider is not intended to react to changes in the state of all menus in the application. The Provider exists only to render the HTML elements.
You already have an OpenChanged in FluentMenu. And you can use it to detect when the menu will be closed.
Perhaps I'm not reading the code properly, but I'm not seeing the provider being used in this instance. FluentPopover seems to be using the AnchoredRegion directly, and the FluentPopover does bubble the OpenChanged event back up the hierarchy. However, the FluentProfileMenu doesn't continue that bubbleation (is that a word?). Am I missing a piece to the puzzle that uses the provider?
🙋 Feature Request
Bubble up the open changed event so parent components can react to the popover state.
🤔 Expected Behavior
bind-Open reacts to changes within the FluentProfileMenu.
😯 Current Behavior
The Open property only flows downward into the FluentPopover.
💁 Possible Solution
A while back you made Open a public parameter, so we could control the visibility from the outside in #2737.
I believe the following may be all that is needed to fulfill bubbling back up the hierarchy.
FluentProfileMenu.razor
FluentProfileMenu.razor.cs
🔦 Context
I make use of the hover style (--fluent-profile-menu-hover) on the outer FluentPersona, and would like to keep that engaged while the popover is visible. I also think it could be a nice to have feature for the menu itself, without us needing to hook into a change event to try to figure that out. However, the OpenChanged event would be a nice to have either way.
The text was updated successfully, but these errors were encountered: