fluent_ui
fluent_ui copied to clipboard
🐛 Flyout menu - strange icon (feedback v4.0.0)
Describe the bug
On demo app:

There is a icon on the left and the indicator.
And Btw, when we open a submenu, if we click outside the menu, only the submenu is closed (on Windows, when we click outside the menu, all menu is closed). Maybe related to https://github.com/bdlukaa/fluent_ui/issues/332)
Weird. Is there any chance of it being a rendering issue on the skia side? I can't reproduce it
Tested on Firefox + Edge, same problem. (current demo app here https://bdlukaa.github.io/fluent_ui/)
Reproducible on VM-based environments as well!
FlyoutListTile builds the trailing widget twice. Removing line 212 solved it for me.
https://github.com/bdlukaa/fluent_ui/blob/de0e316c9e927b817e6f86b1d6e2bc95520dd398/lib/src/controls/surfaces/flyout/content.dart#L187-L215
Nice catch!