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.ShoulderNavigationEnabled Property with value Always work as WhenSelectionFollowsFocus #328

Closed
pavelshapovalov opened this issue Feb 20, 2019 · 2 comments · Fixed by #3145
Labels
area-NavigationView NavView control bug Something isn't working help wanted Issue ideal for external contributors team-Controls Issue for the Controls team

Comments

@pavelshapovalov
Copy link

Describe the bug
When I set value Always in the NavigationView.ShoulderNavigationEnabled property, it still work as WhenSelectionFollowsFocus. This bug related with function NavigationView::BumperNavigation. Which have incorrect check in line:

|| !IsNavigationViewListSingleSelectionFollowsFocus()

Steps to reproduce the bug

  1. Create navigation view with follow params:
    <NavigationView x:Name="testNavigation"
                    PaneDisplayMode="Top"
                    ShoulderNavigationEnabled="Always"></NavigationView>
  1. Run application on xBox and trying to press gamepad bumpers buttons.

Expected behavior
Navigation work correct.

Version Info

Windows 10 version Saw the problem?
Insider Build (xxxxx)
October 2018 Update (17763) Yes
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Anniversary Update (14393)
Device form factor Saw the problem?
Desktop
Mobile
Xbox Yes
Surface Hub
IoT
@msft-github-bot msft-github-bot added the needs-assignee-attention Assignee needs to follow-up or investigate this issue label Feb 20, 2019
@YuliKl
Copy link

YuliKl commented Mar 11, 2019

Here's the documentation for ShoulderNavigationEnabled and SelectionFollowsFocus properties. The behavior described in this issue does not match the docs, so definitely sounds like a bug to me.

@pavelshapovalov - are you able to work around this issue by setting your app's SelectionFollowsFocus to Enabled? This behavior may be expected by Xbox users from their interactions with the Xbox homepage.

@msft-github-bot msft-github-bot removed the needs-assignee-attention Assignee needs to follow-up or investigate this issue label Mar 11, 2019
@pavelshapovalov
Copy link
Author

@YuliKl Unfortunately not. Because I have toggle switch control into the navigation view, and SelectionFollowsFocus breaks the logic of the work. I will need to go through three tabs to enable or disable toggle in this case.
I've added other temporary work around. I added function like BumperNavigation which handle key up event for navigation view on page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NavigationView NavView control bug Something isn't working help wanted Issue ideal for external contributors team-Controls Issue for the Controls team
Projects
None yet
4 participants