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

NavigationView pane close issue #211

Closed
stasKononkov opened this issue Nov 23, 2020 · 3 comments
Closed

NavigationView pane close issue #211

stasKononkov opened this issue Nov 23, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@stasKononkov
Copy link

bug

@JochnGst
Copy link

Can you provide the XAML of this NavigationView sample?
Or the steps to reproduce this behavior?

@stasKononkov
Copy link
Author

Yes, of course. Here is XAML of NavigationView.

<ui:NavigationView
x:Name="NavViewRoot"
IsSettingsVisible="False"
PaneDisplayMode="Left"
IsTabStop="False"
CompactPaneLength="50"
Foreground="Black"
OpenPaneLength="285"
IsBackButtonVisible="Collapsed">
<ui:NavigationView.MenuItems>
    <ui:NavigationViewItem Content="{loc:Loc NavItemTheory}" Tag="TheoryLab" Icon="PreviewLink"/>
    <ui:NavigationViewItem Content="{loc:Loc NavItemTest}"  Tag="TestLabViewModel" Icon="Edit"/>
    <ui:NavigationViewItem Content="{loc:Loc NavItemDescription}"  Tag="DescriptionLab" Icon="ReportHacked"/>
    <ui:NavigationViewItem Content="{loc:Loc NavItemDoLab}" Tag="PreparationLab" Icon="GoToStart">
        <ui:NavigationViewItem.MenuItems>
            <ui:NavigationViewItem Content="{loc:Loc NavItemExperiment}" Tag="ExperimentLabViewModel" Icon="Edit"/>
        </ui:NavigationViewItem.MenuItems>
    </ui:NavigationViewItem>
    <ui:NavigationViewItemSeparator/>
</ui:NavigationView.MenuItems>
<i:Interaction.Triggers>
    <i:EventTrigger EventName="Loaded">
        <i:InvokeCommandAction Command="{Binding LoadedCommand}" />
    </i:EventTrigger>
</i:Interaction.Triggers>
<ui:Frame 
    x:Name="FrameRoot" 
    DataContext="{Binding PanelLabViewModel}"
    Background="{StaticResource LabPresenterBackground}"/>
</ui:NavigationView>

@Kinnara Kinnara closed this as completed in d1615ab Dec 3, 2020
@Kinnara Kinnara added the bug Something isn't working label Dec 3, 2020
@Kinnara
Copy link
Owner

Kinnara commented Dec 3, 2020

Fixed. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants