WrathChaos / react-native-bouncy-checkbox

Fully customizable animated bouncy checkbox for React Native
https://freakycoder.com
MIT License
777 stars 60 forks source link

Property isChecked is not working #180

Closed yasmany993 closed 1 year ago

yasmany993 commented 1 year ago

When using < BouncyCheckbox size={20} isChecked={true} /> component is not being checked

yasmany993 commented 1 year ago

Opened by mistake, component works as expected

ViktorVojtek commented 1 year ago

@yasmany993 I've encountered a similar issue, but only on real device iPhone 7. On simulator or other devices this works as expected. Do you have similar results or more information you can share?

WrathChaos commented 1 year ago

Hello @ViktorVojtek I don't know your use cases for using the library but probably you want to control the state by yourself.

Please check this documentation:

https://github.com/WrathChaos/react-native-bouncy-checkbox#synthetic-press-functionality-with-manual-check-state