NavigationView TopNav not yet rendered OverFlow items showing up due to resizing have wrong foreground(style) after theme change #5559
Labels
area-NavigationView
NavView control
needs-cherrypicktorelease
PR tagged for cherry-pick to the current release branch (but not yet picked)
team-Controls
Issue for the Controls team
Describe the bug
When I'm trying to resize the window causing Overflow items (that haven't been shown yet) in TopNav to appear in PrimaryList, the overflow items that are shown have wrong foreground (see gif attached).
It only happens if I start in Dark mode (system wide), open XCG and then change the Theme inside XCG to Light.
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
Moved from Overflow Items should have correct foreground(style) matching other items that are already rendered in the Primary List.
Screenshots
I've hovered over the elements after they become visible, that turned their foreground color to the correct one.
![navview_bug](https://user-images.githubusercontent.com/21356912/127073990-0b52bd69-ef79-4599-a394-cfa87ba8a93a.gif)
The text was updated successfully, but these errors were encountered: