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
{{ message }}
Repository navigation
feat: Add OpenChanged event to FluentProfileMenu #3486
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.
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?
Activity
dvoituron commentedon Mar 9, 2025
FluentMenuProvideris 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
OpenChangedinFluentMenu. And you can use it to detect when the menu will be closed.wxwyz commentedon Mar 9, 2025
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?
dvoituron commentedon May 5, 2025
Will be included in the next Release. See #3750