NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

initialFocusRef in Modal should open keyboard when input is focused.

Open Viraj-10 opened this issue 1 year ago • 0 comments

Discussed in https://github.com/GeekyAnts/NativeBase/discussions/5228

Originally posted by fafo July 28, 2022

Description

When using initialFocusRef property in Modal, the keyboard should open, instead the cursor blinks the selected input, but you have to click on it in order to open the keyboard.

CodeSandbox/Snack link

https://snack.expo.dev/@faf0/64fa14

Steps to reproduce

You can see it on the documentation example. Just click on open on a mobile device. The modal opens, the focus is on the correct input, but the keyboard closed

NativeBase Version

Any above 3.2

Platform

  • [X] Android
  • [ ] CRA
  • [ ] Expo
  • [ ] iOS
  • [ ] Next

Other Platform

No response

Additional Information

No response

Viraj-10 avatar Aug 09 '22 06:08 Viraj-10