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

Keyboard dismiss behaviour while navigating back

Open codeamo opened this issue 3 years ago • 2 comments

Current behavior

Navigating back dismisses the keyboard.

Expected behavior

I expected the keyboard to be open as I have two text inputs on both screens.

Reproduction

https://snack.expo.dev/@amumu/3accb3

Platform

  • [ ] Android
  • [X] iOS
  • [ ] Web
  • [ ] Windows
  • [ ] MacOS

Packages

  • [ ] @react-navigation/​bottom-tabs
  • [ ] @react-navigation/​drawer
  • [ ] @react-navigation/​material-bottom-tabs
  • [ ] @react-navigation/​material-top-tabs
  • [ ] @react-navigation/​stack
  • [ ] @react-navigation/​native-stack

Environment

package version
@react-navigation/native 6.0.6
@react-navigation/bottom-tabs 6.0.9
@react-navigation/stack 6.0.11
react-native-safe-area-context 3.3.2
react-native-screens 3.8.0
react-native-gesture-handler 1.10.3
react-native-reanimated 2.2.0
react-native 0.64.2
node 17.0.1
npm 8.3.1

codeamo avatar Jul 19 '22 16:07 codeamo

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

  • @react-navigation/native (found: 6.0.6, latest: 6.0.11)
  • @react-navigation/bottom-tabs (found: 6.0.9, latest: 6.3.2)
  • @react-navigation/stack (found: 6.0.11, latest: 6.2.2)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

github-actions[bot] avatar Jul 19 '22 16:07 github-actions[bot]

The issue still exists even after upgrading to the latest version of the above packages.

codeamo avatar Jul 19 '22 16:07 codeamo