Skip to content

Add support for predictive back #370

@dfabulich

Description

@dfabulich

https://developer.android.com/develop/ui/compose/system/predictive-back
https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture
https://developer.android.com/design/ui/mobile/guides/patterns/predictive-back

We're currently using a BackHandler, which prevents predictive back animations.

// Intercept system back button to keep our state in sync
BackHandler(enabled: !arguments.isRoot) {
if arguments.toolbarPreferences.backButtonHidden != true {
navigator.value.navigateBack()
}
}

Metadata

Metadata

Assignees

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