-
Notifications
You must be signed in to change notification settings - Fork 24.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
[0.54.3] React Native screens are blank or partially rendered until reloaded #18610
Comments
Have you solved the problem ? It's happening the same to me. No console errors. Nothing. Just a blank screen. |
@heluotian No sorry |
This is happening in Detox test app as well (using React Native 0.51). Seems like all the views in the view hierarchy have width=0, height=0. Reloading the app renders it correctly.
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Since moving Detox test project to 0.56.x I did not see any reproduction of this bug |
I have the same issue, my version is 0.57. I connected the App to React Native Debugger and search one of my components inside rendered DOM, the React Native Debugger found my components and when I hover them on React Native Debugger in the App they were highlighted. but all of them are white. I have no idea why this happens and have no Idea to fix it. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
This seems to me like a simple issue with a simple fix that I missed. I searched extensively for such a fix and failed to find one, sorry if this is a duplicate.
I upgraded from react 48 to 54. When I open a react native screen in my android app it is either partially rendered or just a blank white screen. Upon reloading react native (either through the menu or updating my code) the react screen works perfectly. In addition any react screens that are linked to from the screen I reloaded on work. However, any react screen which can not be reached through react screens from where I reloaded will not work.
For example screen A -> (B, C) and B -> D where A is native and B, C and D are react screens. I start on A go to B see a white screen. Reload on B, B works fine. Go to D, D works fine. Go back to A and then to C and see a white screen. If I go back to B/ D they will still be working fine. If I reload on C, C will work and B and D will not.
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 9.6.1
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: ^0.54.0 => 0.54.3
Steps to Reproduce
"dependencies": { "currency-symbol-map": "^4.0.4", "intl": "^1.2.5", "locale-currency": "^0.0.2", "lodash": "^4.17.5", "metro-bundler": "^0.22.1", "mobx": "^3.6.1", "mobx-persist": "^0.3.4", "mobx-react": "^4.4.3", "numeral": "^2.0.6", "onesky-utils": "^1.2.0", "parse": "^1.10.0", "rc-swipeout": "^2.0.4", "react": "16.3.0-alpha.1", "react-intl": "^2.4.0", "react-native": "^0.54.0", "react-native-animatable": "^1.2.3", "react-native-datepicker": "^1.6.0", "react-native-image-crop-picker": "^0.18.0", "react-native-image-picker": "^0.26.3", "react-native-keyboard-aware-scroll-view": "^0.5.0", "react-native-keyboard-aware-view": "0.0.14", "react-native-masked-text": "^1.3.4", "react-native-navigation": "^1.1.134", "react-native-tab-view": "^0.0.75", "react-native-vector-icons": "^4.5.0", "react-navigation": "^1.5.0", "realm": "1.13.0", "seaq": "^1.0.0", "styled-components": "^3.2.1", "uuid": "^3.2.1" },
Expected Behavior
I expect the react screens to work without me needing to reload them.
Actual Behavior
Native Screen
Select React Screen (White Screen)
Open Menu (Select Reload)
React Screen (Now Working Correctly)
The text was updated successfully, but these errors were encountered: