Open ggozad opened 6 years ago
Same here: replacing the source (to show an other image) does not refresh the PhotoView.
Note: quick/dirty fix, you can specify a different key
attribute when the source change to force React to re-redenr the whole PhotoView component:
<PhotoView key={`page-${index}`} source={{ uri: pages[index] }} />
Hey, We initially show a preview of the image which has been scaled down. Once the large version is loaded the state is updated and render is called again, but the preview is still the image shown. Tried using
loadingIndicatorSource
but that is not implemented on iOS afaik. What's missing from forcing a proper render?