react-native-screens icon indicating copy to clipboard operation
react-native-screens copied to clipboard

Android keyboard adjustResize not working with status bar translucent

Open 1880akshay opened this issue 1 year ago • 1 comments

Description

In android, the adjustResize soft input mode is not working as expected when status bar is set as translucent. react-native version: 0.74.3 react-native-screens version: 3.34.0

Steps to reproduce

  1. Create a basic native stack navigator and add a single screen
  2. In screen options, set statusBarTranslucent as true.
  3. Observe the issue with input box rendered in the screen.

With status bar translucent: (issue repro)

https://github.com/user-attachments/assets/34720672-c723-439a-9bda-98b473cef5ec

Without status bar translucent: (no issue)

https://github.com/user-attachments/assets/67289ce4-f3a1-4b53-9275-f5024733370c

Snack or a link to a repository

https://github.com/1880akshay/RN_NewArch_TextInput/tree/android-keyboard

Screens version

3.34.0

React Native version

0.74.3

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

Android emulator

Device model

No response

Acknowledgements

Yes

1880akshay avatar Aug 21 '24 08:08 1880akshay

Have raised the PR for the fix: https://github.com/software-mansion/react-native-screens/pull/2311

nikhiltekwani09 avatar Aug 21 '24 18:08 nikhiltekwani09