-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
When I want to go to the previous page, everything suddenly disappears #1685
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
I have now installed the updated version (3.19.0) and checked again but the problem persists. 😥 Probably the problem is not related to the react-native-screens package. Can we say that the problem is caused by the react-navigation package? |
Hi @ugurdalkiran!
No, the problem definitely lies in We still need to find a proper solution to this problem. |
I am glad that you are aware of the problem and that you are looking for a solution. I hope it will be resolved as soon as possible, thanks for your efforts. ❤️ |
Similar problem happening on iOS, without Fabric enabled. The screen goes blank and just like flies out of place instead of animating out. Before (correct)Here is screens version RPReplay_Final1674498235.movAfterHere is Notice it looks weird when going back. If I swipe back, it works fine. The issue only happens if I call RPReplay_Final1674498490.movAny idea which version this started with? Would be useful to downgrade to avoid it happening. Thank you! |
It seems to be the same issue as this: #1532 |
Similar problem happening on android with fabric enabled |
same issue here +1 platform ios enable fabric and using some navigation method (reset , replace) any solution? |
Might be related to #1661 |
Please is there a quick fix or any hack to get around this behaviour. Thanks for your reply |
Hi everyone! I know that this problem is unfortunately still relevant and I want to really say sorry that some of you may experience it. From our side we're still waiting to merge @WoLewicki PR to official React Native repo about adding listeners for screen mount operations so we could perform proper logic when the screen will unmount on Android. With those listeners it will be possible to fix this issue, but for now we only have to wait 😓 |
Hey @tboba @WoLewicki @kkafar I think As I can understand the problem now is that views are getting actually removed from the screen before root |
Hi @kirillzyusko! Yeah, we know this PR has been rejected, sadly 😢 AFAIK, currently @kkafar is working on possible fix for that bug, do you know Kacper what's the current state of it? |
@tboba Cool, glad to hear that progress is moving 😎 I just thought to suggest that potentially we can pospone unmounting a component in JS (I guess it's managed by react-navigation). Just potentially instead of excluding a component from JS tree we can assign a new prop (like But I'll be glad to hear how you managed to overcome this problem 💪 👀 |
Hey all, could you check #2134 fixes this problem and does not introduce any new ones? |
@WoLewicki I can check only next week (currently on a short vacation and don't have an access to my laptop) 👀 |
Description
I'm opening a new page on Android and everything is fine. When I want to come back from that opened page, all Views and Texts disappear from the screen. A white screen appears. Then my back page opens.
At this stage, I want the objects on my screen not to disappear.
In my opinion such a problem occurs when FABRIC is enabled. If fabric is not enabled, everything continues as normal. Could it be that the react-navigation package's fabric support is not working properly?
Here is the video.
ezgif-1-be282d7b39.mp4
Steps to reproduce
Snack or a link to a repository
https://stackoverflow.com/help/mcve
Screens version
3.18.2
React Native version
0.71.0
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: