-
Notifications
You must be signed in to change notification settings - Fork 341
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
Rejecting while taking snapshot of "zero height" view #21
Comments
and if you |
no, I haven't measure the view. I just assume from (not)visible background color. It is funny that My point is that you can't capture zero height view correctly - that's true - but to receive Secondary point was to "document" somewhere the problem and workaround if someone will face the same problem as I had. |
I guess it works on iOS, but have you tried on Android? I think Android don't support it; it doesn't support (yet) I guess maybe the library should just throw if any of width or height is <=0 |
haven't tried it on Android. I just was confused by the error since I used it for the first time and was not sure if something went wrong with linking of native code or what... |
thanks :) |
I got following error/rejection:
with following view to snapshot:
everything works with
style={{flex:1,backgroundColor: 'yellow'}}
. Without the flex I can seeDemoApp
but I don't see yellow background.Feel free to close this issue if you don't want to handle such cases. Just wanted to document somewhere my troubles and how to "workaround" them if anyone would come to this problem.
The text was updated successfully, but these errors were encountered: