https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
t

tirgei

10/24/2023, 9:06 PM
Anyone encountered this iOS keyboard issue? Works quite okay on Android side so wondering what issue could be
k

Konstantin Tskhovrebov

10/25/2023, 3:34 PM
if you change in Android manifest
android:windowSoftInputMode="adjustResize"
you will have the same on android
you have to select one of two ways: 1. the keyboard resize you app screen. a. set
android:windowSoftInputMode="adjustPan"
b. don't use IME insets 2. the keyboard doesn't change your app screen a. set
android:windowSoftInputMode="adjustNothing"
b. ios
Copy code
fun MainViewController(): UIViewController = ComposeUIViewController(
    configure = {
        onFocusBehavior = OnFocusBehavior.DoNothing
    }
) { App() }
thank you color 1
for the 2 option you have to manage IME insets by yourself
t

tirgei

10/25/2023, 5:16 PM
Okay, let me try and see if that helps, thanks @Konstantin Tskhovrebov
5 Views