-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MUX: NavigationView Does Not Select first NavigationViewItem #4794
Comments
My guess it is due to the fact that due to different lifecycle of controls the |
Hm, sounds like it might be tricky then. Regardless,, thanks a lot for taking the time to upgrade NavigationView. Its very nice to finally be able to share the same control with UWP. |
@robloo thanks! Yes, it is a quite a bit trickier, especially as the control lifecycle differs between different targets (in this case it is all about when |
- Fixes unoplatform#4794 - ensures the pre-selected NavigationView item is indicated after loading
I am having problems with first-time selection on both UWP and Android when using MVVM, data binding, and MenuItemTemplates: ...
It doesn't work when programmatically going through pages also. Works only when clicking on the menu items. I found multiple issues about this so I am not sure where to post the issue? |
Current behavior
Using the new MUX NavigationView in Uno 3.4, after the NavigationView loads for the first time, the selection indicator is not visible. The selected NavigationViewItem content is correctly shown -- only the indicator isn't visible.
I would guess this has something to do with animations.
Expected behavior
The selection indicator should appear.
How to reproduce it (as minimally and precisely as possible)
As described above.
Workaround
Not tested, probably setting the selection a second time? Although in manual testing it appears a different NavigationViewItem must be selected and navigated to before selection will be valid.
Environment
Nuget Package:
Nuget Package Version(s): 3.4.0
Affected platform(s):
IDE:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: