Closed jp-xbox-gaming closed 4 years ago
You have to remove keyboardType="number-pad" that's work for me
Same problem for me, Any update on this issue?
I have similar issue. In my case anything in focusStyle causes the keyboard to be dismissed after each input.
focusStyles={{
borderBottomColor: "#00284F",
borderBottomWidth: 1
}}
removing it, works perfectly.
I have similar issue. In my case anything in focusStyle causes the keyboard to be dismissed after each input.
focusStyles={{ borderBottomColor: "#00284F", borderBottomWidth: 1 }}
removing it, works perfectly.
Its worked!
Looks like these issue is happening again on latest versions.
While trying to create OTP inputs with 6 digits and custom styles as shown below, Keyboard is getting dismissed after user enters each single input.
If
inputContainerStyles={{ height: 53 }}
is commented/removed, everything works fine. Except that it adds the default style which gives bottom border to all the input fields. The only way to avoid bottom border is to provide custominputContainerStyles
which strangely seems to be affecting Keyboard dismiss behavior.This behavior was observed while using react-native-otp-inputs version "5.0.0-alpha.0" on Android studio's Pixel 3 emulator running Android Pi.