Skip to content

PredictiveBackGesture slide animation not working trying to pop #699

Answered by arkivanov
OsmanMusse asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the reproducer! It looks like you haven't followed the guide completely. In particular, you missed the step #2.

Create the root DefaultComponentContext and pass the previously created BackDispatcher as backHandler argument.

Here is the patch that you need to apply:

Index: composeApp/src/iosMain/kotlin/MainViewController.kt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/composeApp/src/iosMain/kotlin/MainViewController.kt b/composeApp/src/iosMain/kotlin/MainViewController.kt
--- a/composeApp/src/iosMain/kotlin/MainViewController.kt	(revision 5059f4221a7e963…

Replies: 1 comment 18 replies

Comment options

You must be logged in to vote
18 replies
@OsmanMusse
Comment options

@arkivanov
Comment options

@OsmanMusse
Comment options

@arkivanov
Comment options

Answer selected by OsmanMusse
@OsmanMusse
Comment options

@arkivanov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants