-
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
Captured view not seen any more #14
Comments
can you share a minimal code that reproduce this? I'm not sure why it would disappear, seems weird to me, are you sure you keep rendering that view? There is no such bug in https://github.com/gre/react-native-view-shot-example |
you might be right about this bug BTW, maybe it's not a good idea I do this without restoring back the layout: (I guess it's a side effect in view?) i'm not even sure if I need to to this? feel free to test without this line, check if result still get rendered too |
Hi Gaëtan, Thank you for your prompt feedback and support. |
cool, feel free to send a PR. i'll later check if there is no case this would break and crop with a wrong size (unless you want to do it ;)) |
Hi,
I successfully capture the view as png/jpeg in react-native in Android.
I captured the view as file and saved for later use. The view contain image and text. But the original view in the screen disappeared (become empty in the screen) after captured the view.
I want to display the same view (not captured image) even after captured the image. Any way to achieve this ? Please advise ASAP.
Please find attached the before view and after captured view (empty).
The text was updated successfully, but these errors were encountered: