-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Crash: text-align: start error: should be one of auto, center, justify, left, right. #252
Comments
Same problem, can we just ignore or throw a warning rather than crash when encountering un-renderable CSS property? |
@nadav2051 even for the "display" style same happens. Are there any way to fix this problem? Coz using ignore is not the way to handle this |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2 similar comments
+1 |
+1 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
In the next major release, we are considering using https://github.com/styled-components/css-to-react-native to overcome this kind of issues. In the meantime, we might release a hotfix for @Lucasark Please post your question on stackoverflow with the |
Is this a bug report or a feature request?
Bug report
Have you read the guidelines regarding bug report?
no
Have you read the documentation in its entirety?
yes
Have you made sure that your issue hasn't already been reported/solved?
yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
I have only checked on Android
Is the bug reproductible in a production environment (not a debug one)?
debug doesn't run
Have you been able to reproduce the bug in the provided example?
no
Environment
Environment:
React: ^16.3.1
React native: ^0.55.4
react-native-render-html: ^3.10.0
Target Platform:
Android (6.0)
iOS (10.3)
Hi all, my app crash because css style: "text-align:start", text-decoration-style:initial", "font-family: "" "
now, i use: ignoredStyles={['text-align', 'text-decoration-style', 'text-decoration-color','font-family']} to prevent it, but i don't know when have more css style make crash.
How can i always prevent it?
The text was updated successfully, but these errors were encountered: