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

Fix NavigationView pane not closing in minimal/compact mode when selecting an item #2248

Conversation

Felix-Dev
Copy link
Contributor

Description

This PR fixes a regression introduced with commit 5d444b6 which prevented the NavigationView pane to be closed in minimal/compact mode after selecting the Settings item or selecting an item programmatically (using NavigationView.SelectedItem).

Also added an interaction test to prevent this regression from occuring in the future.

Motivation and Context

Fixes #2244.

How Has This Been Tested?

Tested visually and added interaction test.

…tically selecting items

* Add test to prevent this regression in the future
@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label Apr 7, 2020
@ranjeshj ranjeshj requested a review from ojhad April 7, 2020 17:44
@ranjeshj ranjeshj added area-NavigationView NavView control team-Controls Issue for the Controls team labels Apr 7, 2020
Co-Authored-By: Marcel Wagner <[email protected]>
@ojhad
Copy link
Contributor

ojhad commented Apr 7, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ranjeshj ranjeshj removed the needs-triage Issue needs to be triaged by the area owners label Apr 7, 2020
@ojhad ojhad merged commit 1a6dc2a into microsoft:master Apr 7, 2020
@Felix-Dev Felix-Dev deleted the user/Felix-Dev/navigationview-paneselection-issue branch April 7, 2020 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NavigationView NavView control team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NavigationView Pane does not close after clicking on an item
5 participants