-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Invariant Violation: "this.props" should not be accessed during state updates #32
Comments
Hey @stonehiy, Thanks for raising this. Will take a look ASAP and get this fixed 🙌 |
Hey @stonehiy, can you share your code please? Struggling to recreate this error without it. |
https://github.com/stonehiy/react-native-timer-picker_demo https://s17.aconvert.com/convert/p3r68-cdx67/1upsj-v46ol.gif |
Hey @stonehiy, thanks for sharing the demo. I'm still not seeing that error on my end but I had a suspicion of what might be causing it. I've safeguarded against it in the latest version ( |
Hey @troberts-28 ,I have tried to use the lasest version( |
Ah ok, will have another go at recreating it and get back to you 👍 |
Hey @stonehiy, Sorry to only just be picking this up. I have pinned down the problem to this React Native Issue, which was fixed in React Native v0.72.0. I've decided not to go in and try and make the logic compatible with the versions of RN that contained this issue, so my recommendation is to upgrade you RN version to 0.72 or above. I have increased the projects' peer dependency versions to reflect the incompatibilty. |
Verson info:
"react-native": "0.71.3",
"react-native-timer-picker": "^1.10.1",
When using
TimePicker
, a quick swipe will result in the following exception:The text was updated successfully, but these errors were encountered: