r5n-dev/react-native-otp-inputs

Button colour changing after filling the inputs

Closed this issue · 3 comments

After filling in the otp code, the colour of the button after otpInputs component changes. I have no idea why it is showing this weird behaviour.

Please find the attached screenshot for detailed view. Here you can see a greyish background colour around the continue button. I've added any backgroundcolor to touchable opacity but it is still showing.
Screenshot 2021-02-24 at 3 13 06 PM

@vinaynarayankutty It's not a package-related issue. Also, I'm not seeing any backgroundColor here, more like borderColor.

@dsznajder Hi, see the problem is I've given the whole background a white color. See the touchable opacity I have'nt given any grey color and of you look at the simulator screen you can see a grey color around the continue button. Please find the attached screenshots for clarity.
Screenshot 2021-02-24 at 4 02 43 PM
Screenshot 2021-02-24 at 4 03 01 PM
Screenshot 2021-02-24 at 4 03 18 PM

@vinaynarayankutty It's still not related to the package, as it's just TextInput's components, I have no idea what is actually happening here, but it's related more to React-Native. It's just in "selected" state. Check on a real device.