-
Notifications
You must be signed in to change notification settings - Fork 291
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
Touching the middle part of picker (not Icon on the right) crashes the app #237
Comments
Hello, I have been facing the same issue since 0.64. It would be interesting to have a reliable answer on this subject; various users mention solutions but no "official" answer :/ |
I have a same issue too when upgrage react native 0.64 |
Seems like the issue happens when the picker is combined with other native modules on version 0.64 Using picker on a new React Native project (v0.64) works fine |
I have same issue; doesn't matter where I click it cause to crash |
hello I have same issue |
I have same issue; when I click Icon picker it works. but when I click another space crashed. |
Facing the exact same issue as well |
:< Just upgraded to .64 on one branch while a developer added this library on another branch now we have an app crash on a new feature - mega disappointing Left my comment on the wrong issue, one of these is a duplicate: #221 |
Would you be able to share any links or insight on possible solutions? |
You're right. |
So i managed to get the error
|
The absolutely bizzare thing for me, was that I removed For whatever reason, the horizontal flatlist or some kind of handler in the other carousel library, caused picker to crash when you click on the label, not the arrow - if you visit the view with the carousel before the view with the picker. |
@AlphaJuliettOmega I tried, no luck. It still crashes. |
We used the same |
I assume it's related to henninghall/react-native-date-picker#301 |
Hey are using react-native-tab-view ? For me the same issue started when I upgraded to react-native-tab-view from 2.16.0 to 3.0.0 in my react-native 0.64 project. The picker was crashing when I picked the middle part but when I press only the arrow it works. So I resolved it my case by downgrading back react-native-tab-view to 2.16.0. I think the problem had to do with react-native-tab-view using react-native-pager-view in their latest update. |
Same problem here, is there any solution? |
I solved it back not upgrading to 0.6 RN. Just curious, why do you have to
upgrade from 0.5 to 0.6? I would suggest staying with 0.5.x a bit longer if
you can
jretamalc ***@***.***>于2021年4月19日 周一下午10:31写道:
… Same problem here, is there any solution?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#237 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASQNW4UJDPS6TGIHAG4WN3TTJQ5D3ANCNFSM42GBB37Q>
.
|
Everytime new version of RN is released, we make new branch, then upgrade RN, and list which works and which doesn't. |
Are you using this with @react-navigation? I've just had this same issue since upgrading to 0.64 and found that this problem occurred on screens where I had enabled gestures (gestureEnabled: true in screenOptions). |
Yes, but not turning on gestureEnabled param manually |
Same issue. I think it is not related to Im on RN Tried to disable all gesture features on the modal does not avoid the crash. I dont find real insight in logcat. |
@Slals I don't know why, but if you read comments above carefully
I'm using RNN so it's definitely not I'm hoping it's an obscure peer dependency api update that those two crash causing culprits have in common that the picker just needs to be able to sidestep. |
I have the the same issue only when picker on same screens with react-native-pager-view. |
I have the same issue in a modal. Pressing the picker on the "text"-part causes the crash but. It worls fine when using the using the icon. It also works fine with Pickers in a normal screen. I'm on RN 0.64.1. |
I think this needs to be closed.. |
I don't think this issue should be closed. I also don't think @drneyx deserves all this thumbs down, because for now he is right : that's the only solution ! And finally, I really think this should be documented in the README: don't use RN 0.64 if you want to use |
Here is the solution that worked for me: |
The only way to handle this bug is using ref and method of ref? Then, why does this props |
"react": "17.0.1",
"react-native": "0.64.0",
"@react-native-picker/picker": "^1.12.0",
video_2021-04-01_09-14-03.mp4
the error details look the same to this issue (#220)
The text was updated successfully, but these errors were encountered: