-
Notifications
You must be signed in to change notification settings - Fork 84
Incorrect sort order when using NavigationStack #168
Copy link
Copy link
Labels
P1: High PriorityIssues that would result in incorrectly accessing whether or not a view is accessible.Issues that would result in incorrectly accessing whether or not a view is accessible.Switch Control parityMismatch between output of framework and actual Switch Control behaviorMismatch between output of framework and actual Switch Control behaviorVoiceOver parityMismatch between output of framework and actual VoiceOver behaviorMismatch between output of framework and actual VoiceOver behaviorbugSomething isn't working as expectedSomething isn't working as expected
Metadata
Metadata
Assignees
Labels
P1: High PriorityIssues that would result in incorrectly accessing whether or not a view is accessible.Issues that would result in incorrectly accessing whether or not a view is accessible.Switch Control parityMismatch between output of framework and actual Switch Control behaviorMismatch between output of framework and actual Switch Control behaviorVoiceOver parityMismatch between output of framework and actual VoiceOver behaviorMismatch between output of framework and actual VoiceOver behaviorbugSomething isn't working as expectedSomething isn't working as expected
I've found that when using a
NavigationStackin a SwiftUI view accessibility snapshot puts the contents of the navigation bar below the contents of the view that is contained in theNavigationStack. That is a lot of words that may or may not be helpful so I'll share some snapshots:Here is the code I used to generate those snapshots:
I've noticed this issue when running Xcode 15 in an iOS 17 simulator. I have not tested previous simulators but I think the issue is related to
NavigationStackand not to the simulator.