Skip to content

android:windowSoftInputMode="adjustResize" will not work when StatusBar hidden="true" Android #13000

Closed
@CodeXtinction

Description

@CodeXtinction

Ill provide more info about this issue #12980

android:windowSoftInputMode="adjustResize" at android/app/src/main/AndroidManifiest.xml (by default in the lastest version) prevent the content collapses out of the screen when keyboard appears and works well, but here the problem, if you want to hide the StatusBar then adjustResize will not work, content collapses and if you have a ScrollView and many TextInputs you have to hide the keyboard in order to navigate to the next input.

How to reproduce?
here i opened a repo with an example, the main code is in App.js
https://github.com/CodeXtinction/bug-react-native

gif example.
when Statusbar hidden prop is set false, will work well

alt tag

but then this happen when hidden={true}

alt tag

im on Android 6.0
you will find the code and package.json in the repo example provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions