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

TextInput autoFocus not work when push new screen to the stack

Open nhatth219 opened this issue 1 year ago • 2 comments

What happened?

  1. Push a new screen into the stack and the Input has autoFocus={true}
  2. The keyboard appears then appears immediately

What was the expected behaviour?

The keyboard has to appear

Was it tested on latest react-native-navigation?

  • [X] I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

  • Tested on playground folder
  • Add a TextInput and it has autoFocus={true} in a screen

In what environment did this happen?

React Native Navigation version: 7.37.0 React Native version: 0.72.3 Has Fabric (React Native's new rendering system) enabled: (yes/no) no Node version: v16.14.1 Device model: SAMSUNG SM-S901E Android version: 13

nhatth219 avatar Aug 20 '23 17:08 nhatth219

https://github.com/wix/react-native-navigation/assets/114040146/dbd95a94-795c-47ae-8d43-feb9c7028929

nhatth219 avatar Aug 20 '23 17:08 nhatth219

same issue

Sasha95 avatar Jan 10 '24 16:01 Sasha95