React-native-keyboard-aware-scroll-view: Problem when backgrounding the app and returning

Created on 13 Dec 2016  路  2Comments  路  Source: APSL/react-native-keyboard-aware-scroll-view

When the app is put into the background, either through switching to a different app, or if for example opening the camera app to take a picture I've found it doesn't work as it did before! Rather than retaining it's height and scrolling to the correct location it seems the elements on the page get squashed into the smaller area...

Most helpful comment

I fixed this by specifying the windowSoftInputMode in AndroidManifest.xml

android:windowSoftInputMode="stateUnspecified|adjustPan"

All 2 comments

Should have mentioned this is Android only...

I fixed this by specifying the windowSoftInputMode in AndroidManifest.xml

android:windowSoftInputMode="stateUnspecified|adjustPan"
Was this page helpful?
0 / 5 - 0 ratings