GeekyAnts / GeekyAnts/NativeBase

initialFocusRef in Modal should open keyboard when input is focused.

Open
#5,257 0 comments 1 reaction 0 assignees View on GitHub
bug v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.