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

Fixing crash caused by NavigationView sample #24

Merged
merged 1 commit into from
Jan 8, 2019
Merged

Conversation

YuliKl
Copy link

@YuliKl YuliKl commented Jan 7, 2019

Added a check to avoid trying to access NavigationViewItem components when the item is null.

Description

NavigationView raises a SelectionChanged event when its PaneDisplayMode is updated. This event incorrectly reports that Settings is not selected. I opened a Microsoft-ui-xaml issue to track this control bug.

Motivation and Context

Internal bug 19380715.

How Has This Been Tested?

Manually verified

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@YuliKl YuliKl requested a review from stmoy January 7, 2019 22:00
@stmoy stmoy merged commit 59dbaea into master Jan 8, 2019
@stmoy stmoy deleted the w/yulikl/NavViewCrash branch January 8, 2019 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants