-
Notifications
You must be signed in to change notification settings - Fork 4
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
ShadowView styles problem #6
Comments
Thanks for the report. I'll take a look, once I have time. Meanwhile, you can wrap text with another view as workaround. |
Yes i tried wrapping it inside another View with the styles i want but when i reload the app or navigate to another screen and back it's realigning all the children as a stack. |
Can you share what you tried? I'd like to check this case as well. |
I mean to do like
|
Yes this is exactly how i implemented it. On hot reload it works. But if i reload/restart the app or navigate back and forth it is buggy again (all the children aligned as a stack). |
I think I found workaround. Inner view style should have |
There is problem when i try to pass some styles in to the ShadowView. These styles doesn't apply:
In the above example the Texts (children) will not be next to each other as a row, but it will be aligned as a stack.
The text was updated successfully, but these errors were encountered: