-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Default text and background are the same color on react native 0.58 #5377
Comments
For me I realized it's caused by this line in Now I changed it to |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Non-intrusive workaround is to wrap the const WrappedStorybook = () => (
<View style={{ flex: 1, backgroundColor: "white" }}>
<StorybookUIRoot />
</View>
); |
what a hack. is there official issue to change this? why is default black? |
This has been fixed in https://github.com/storybooks/storybook/releases/tag/v5.1.0-alpha.19 |
Describe the bug
In react native 58+, the default background color is black instead of white, and so the default UI theming that comes out of the box with storybook UI is invisible
To Reproduce
Steps to reproduce the behavior:
Follow the instructions to install storybook on a newly created react native project
react-native init newProject
cd newProject
npx -p @storybook/cli sb init
Expected behavior
Expected the default text color to not be the same as the background
Screenshots
Code snippets
adding this to the style file for the preview list component shows the ui
System:
The text was updated successfully, but these errors were encountered: