react-native-smooth-pincode-input icon indicating copy to clipboard operation
react-native-smooth-pincode-input copied to clipboard

Rendering issue on Android

Open ibnekhan opened this issue 5 years ago • 3 comments

react-native: "0.58.6" android os Oreo

<SmoothPinCodeInput cellStyle={{ borderBottomWidth: 2, borderColor: Colors.themeColor }} cellStyleFocused={{ borderColor: 'black' }} textStyle={{ fontSize: 14 }} codeLength={6} cellSize={30} value={codeInput} />

Screenshot 2019-03-14 at 11 53 03

ibnekhan avatar Mar 14 '19 06:03 ibnekhan

I have the same issue

josecastillo86 avatar Apr 17 '19 13:04 josecastillo86

I have the same issue

don't set default value into state to assign.

ibnekhan avatar Apr 22 '19 16:04 ibnekhan

I had the same issue. When I start typing this error comes up. in this commit I handled value of TextInput in internal state. and the issue's gone.

let me know if the issue persists or if this solution works.

P.S. this issue is resolved in RN 0.60. as this comment says.

alikazemkhanloo avatar Jun 19 '19 07:06 alikazemkhanloo