-
-
Notifications
You must be signed in to change notification settings - Fork 46
Get rid of navigation link throttling #376
Copy link
Copy link
Open
Labels
composeLimitation of Jetpack Compose or issue with SwiftUI translationLimitation of Jetpack Compose or issue with SwiftUI translationnavigationIssues with navigation behavior parity between SwiftUI and Jetpack ComposeIssues with navigation behavior parity between SwiftUI and Jetpack Compose
Metadata
Metadata
Assignees
Labels
composeLimitation of Jetpack Compose or issue with SwiftUI translationLimitation of Jetpack Compose or issue with SwiftUI translationnavigationIssues with navigation behavior parity between SwiftUI and Jetpack ComposeIssues with navigation behavior parity between SwiftUI and Jetpack Compose
In a11d2f5 we added a
minimumNavigationIntervalthrottle, "Prevent quick navigation link taps from pushing duplicate screens"I'm a little hazy on what the bug was… presumably the bug occurred when double-clicking on a
NavigationLink…?Regardless, this throttling makes it trickier to write UI automation, because any fast navigation triggers it, e.g. clicking on the "NavigationStack" playground from the playground list and then clicking the "NavigationLink" button in the playground will trigger it. I filed #373 to at least log a message when that happens, but ideally we'd simply not need a throttle.