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

There is a bug when NavigationView in Flyout? #323

Closed
doghappy opened this issue Feb 18, 2019 · 2 comments
Closed

There is a bug when NavigationView in Flyout? #323

doghappy opened this issue Feb 18, 2019 · 2 comments
Assignees
Labels
needs-assignee-attention Assignee needs to follow-up or investigate this issue team-Controls Issue for the Controls team

Comments

@doghappy
Copy link

doghappy commented Feb 18, 2019

Describe the bug
When the NavigationView is in the Flyout control and Flyout first expands, the NavigationView works, but if Flyout loses focus(Flyout is closed), click the Button again, all NavigationViewItem cannot be clicked.

Steps to reproduce the bug

XAML

<Button Content="flyout2">
    <Button.Flyout>
        <Flyout>
            <NavigationView x:Name="nvSample" PaneDisplayMode="Top">
                <NavigationView.MenuItems>
                    <NavigationViewItem Icon="Play" Content="Menu Item1" Tag="SamplePage1" />
                    <NavigationViewItem Icon="Save" Content="Menu Item2" Tag="SamplePage2" />
                    <NavigationViewItem Icon="Refresh" Content="Menu Item3" Tag="SamplePage3" />
                    <NavigationViewItem Icon="Download" Content="Menu Item4" Tag="SamplePage4" />
                </NavigationView.MenuItems>
                <Frame x:Name="contentFrame"/>
            </NavigationView>
        </Flyout>
    </Button.Flyout>
</Button>
Windows 10 version Saw the problem?
October 2018 Update (17763) Yes
Device form factor Saw the problem?
Desktop Yes
@msft-github-bot msft-github-bot added this to Needs triage in Controls Triage Feb 18, 2019
@doghappy
Copy link
Author

May be caused by Flyout cache Content

@jevansaks
Copy link
Member

This sounds like #18 which is fixed in the latest prerelease MUX. Could you give this nuget package a try? (You would need to switch your usage of NavigationView from the SDK to Microsoft.UI.Xaml)

@jevansaks jevansaks self-assigned this Feb 19, 2019
@jevansaks jevansaks moved this from Needs triage to Investigate / needs follow-up in Controls Triage Feb 19, 2019
@msft-github-bot msft-github-bot added the needs-assignee-attention Assignee needs to follow-up or investigate this issue label Feb 19, 2019
@msft-github-bot msft-github-bot removed this from Investigate / needs follow-up in Controls Triage Feb 20, 2019
@jevansaks jevansaks added the team-Controls Issue for the Controls team label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-assignee-attention Assignee needs to follow-up or investigate this issue team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants