-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Cannot read property 'x' of undefined #582
Comments
I re implemented the Bug code, and I found the bug caused by the addition of the attribute autoplay={true} |
same problem,what can i do to fix the bug |
stop Remote JS Debugging |
how to fix this problem ? who has good idea |
i need debug, so please fix this problem |
i have found the reason in my project, if you use the properties autoplay:true,try to remove it,maybe can solve the problem |
@wuxiii Why remove autoplay ,it will work, if I have to need autoplay: true, how to solve it? |
@ZKeLin 这个我也不知道,你可以调试的时候不用这个属性,打离线包的时候就把这个属性加上 |
@stlemon react-native-swiper\src\index.js:401 add:
|
@rrrhys Thanks a lot! |
Try this before version updates.
|
@arribbar merge fix please? I keep hitting this on android on app launch (not on ios) |
I'm getting this issue when running snapshot test with Jest. With @fungilation fix, il works! Thanks! |
Add this lines into ./node_modules/react-native-swiper/src/index.js -> Line 401 |
I already fixed in my fork. This repo isn't maintained anymore sadly, the owner just updates README with recruitment ads. |
@fungilation Would you like or someone else to create a new repo (with a different name) so that we can all maintain that one? |
Posted new issue here. I don't want to be the only one maintaining either, let's see if we can drum up enough community interest: #893 |
Sorry @fungilation. I haven't got a lot of time in the past year. |
fixes #582 (Android not setting this onLayout first?)
thanks a lot, this bug is gone after upgrading to 1.5.14 (previously is 1.5.13) |
Which OS ?
Android
Version
Which versions are you using:
Expected behaviour
Android device debugging will not be throw error
Actual behaviour
Android device debugging is throw error Cannot read property 'x' of undefined,
When I Debug JS Remotely to chrome was Report errors,
It's normal after stop remote js debugging
The text was updated successfully, but these errors were encountered: