:compose-multiplatform: Compose Multiplatform 1.8...
# compose
d
K Compose Multiplatform 1.8.0-beta01 is out! kodee happy Head over to our What’s new page or check out the full list of changes for this release on GitHub. Try it out and share your experience, feedback, and questions with us! kodee loving
kodee happy 10
🚀 9
thank you color 6
🦜 5
K 12
K 14
k
Together with new CMP, the new multiplatform navigation
2.9.0-alpha15
is available with iOS back gesture by default
🙏 8
🚀 25
🎉 5
K 6
🙏🏾 1
l
To make the library perfect, it only needs DeepLink support 😅 Congrats on the great job, guys!
kodee loving 1
k
deeplinks are supported as well
K 5
l
Is this available starting from this navigation version, or do previous versions support DeepLink too?
r
So happy to see this news 😍
kodee loving 1
s
How do I enable this by default? I have used the alpha version, but I have to add
BackHandler { route somewhere code }
to the child views and
implementation(libs.ui.backhandler)
to the build.gradle do I not need to do this in the beta or is it based on “enable by default” if you use a certain navigation composable pattern?
k
BackHandler is not a part of the navigation library
there is the iOS back gesture enabled by default in the navigation library
BackHandler is part of the android OS. we implemented our own implementation to support it in the navigation library on other platforms. if you need a custom logic with BackHandler, you could try to use internal library
implementation(libs.ui.backhandler)
but here is no guaranties
s
So I didn’t get it by default when I updated to 1.8.4-alpha so I did implement my own. is the default Navigation just a NavHost with a navcontroller? There’s probably something I am missing on why my Navhost is no longer “default”
g
Hello, I tested the latest version of Compose Multiplatform (Kotlin 2.1.20 and Compose 1.8.0-beta1). On the mobile browser, the keyboard issue has been fixed, and it opens properly. Also, the page no longer shifts to the right. However, the keyboard still does not open in WebView. Another issue is that when selecting TextField on a browser, the UI freezes instead of displaying the expected popup menu for copy-paste actions. Related Issue https://youtrack.jetbrains.com/issue/CMP-7298/Keyboard-Not-Opening-and-Page-Shifting-on-Focus-in-Compose-Web-App-within-Android-WebView