-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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 - App crashes with ReactRootView inside viewpager #17123
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
Think this issue is still relevant and even a fix is proposed. Is there anyone from the team that can apply this fix or confirm that this fix would be the right thing to do so someone else can create a PR? |
Do you have anywhere demo you used to reproduce this? I get this exception on prod and the change you are proposing looks reasonable but I cannot reproduce it. |
Here is a very simple demo project that reproduces this bug: #19233 . Sadly, it reproduces not only this bug, but many other bugs as well, in a random manner. |
So what is happening is, react-native is trying to manipulate a view (with This is an issue I've been facing for a long time but have NO idea how to resolve. |
All hail SudoPlz! https://gist.github.com/SudoPlz/23ea2dee9772cb39e1e742034cdf8b98 |
#20025 should fix this |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Steps to Reproduce
(Write your steps here:)
ViewPager
with aReactRootView
as content, preferably with some images inside theReactRootView
Expected Behavior
I would expect no stack trace or errors to occur.
Actual Behavior
This occurs after swiping through the ViewPager quickly.
Reproducible Demo
Proposed fix:
Below this line of code: Add the same fix as this one
The text was updated successfully, but these errors were encountered: