Skip to content

Get rid of navigation link throttling #376

@dfabulich

Description

@dfabulich

In a11d2f5 we added a minimumNavigationInterval throttle, "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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    composeLimitation of Jetpack Compose or issue with SwiftUI translationnavigationIssues with navigation behavior parity between SwiftUI and Jetpack Compose

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions