tttstudios / react-native-otp-input

Tiny Javascript library which provides an elegant UI for user to input one time passcode.
MIT License
521 stars 238 forks source link

Input cannot be focused when used in react-native-modal #229

Open BblythePan opened 3 weeks ago

BblythePan commented 3 weeks ago

Describe the bug When I use OTPInputView in the react-native-modal popup, the input box doesn't focus

To Reproduce Steps to reproduce the behavior:

  1. Use OTPInputView in the react-native-modal popup
  2. Click input
  3. Input cannot be focused

Expected behavior Input can be focused and input Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.