Skip to content
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

Moving the NavigationView to another Frame makes it unresponsive. #137

Closed
frankthvandeven opened this issue Dec 25, 2018 · 2 comments
Closed
Labels
area-NavigationView NavView control duplicate This issue or pull request already exists

Comments

@frankthvandeven
Copy link

I am using the build 17134 SDK, but the latest Microsoft.UI.XAML 2.0.181018003.1 has the same problem.

When moving the NavigationView to another Frame, the NavigationView menu items cannot be clicked anymore. This means that giving the NavigationView another parent control upsets it. Hovering over menu items still works as I can see the color change.

object temp = Frame1.Content; // content is the NavigationView
Frame1.Content = null;
Frame2.Content = temp;

The problem is odd as other controls can be moved to another Frame without problems.

Placing the NavigationView inside a Grid (for example) does not solve the problem. I also tried placing it in a Grid and do a Grid.Children.Remove() before adding it to another Grid, but also not a solution.

I attached a sample UWP project illustrating the problem.

NavigationViewPanelTest.zip

@frankthvandeven
Copy link
Author

frankthvandeven commented Dec 25, 2018

I also added this issue to GitHub Microsoft/winrt-related as #77

@jevansaks jevansaks added the duplicate This issue or pull request already exists label Dec 26, 2018
@jevansaks
Copy link
Member

@FrankVanDeVen this sounds like the same issue as #18, can you take a look and see if you agree?

@jevansaks jevansaks added the area-NavigationView NavView control label Dec 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NavigationView NavView control duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants