gre / react-native-view-shot

Snapshot a React Native view and save it to an image
https://github.com/gre/react-native-view-shot-example
MIT License
2.64k stars 344 forks source link

view-shot content will not update when webview changes #533

Open chenkuangkuang opened 2 months ago

chenkuangkuang commented 2 months ago

When the view-shot contains a webview and the webview content changes (pathname and search both change), the intercepted view is not updated (the filename changes and releaseCapture is also performed)

When I try to render the webview's path as a string in the view-shot's word element, the situation improves, but it still happens that the view doesn't update

I mean take a screenshot once, then change the routing change content in the webview, then take a screenshot again

(By the way, it work well on ios,but not on android)