Closed Mario-Duarte closed 4 months ago
This PR fixes an issue with the component when the src changes dynamically, it was mainly caused by the imgData not been reset when the src changes.
imgData
src
Added fade transitions to the image for when the src changes.
https://github.com/Mario-Duarte/react-image-zooom/assets/8998720/d77aa534-dee8-4233-a9ea-c47db8c78e3e
This PR fixes an issue with the component when the src changes dynamically, it was mainly caused by the
imgData
not been reset when thesrc
changes.Added fade transitions to the image for when the
src
changes.https://github.com/Mario-Duarte/react-image-zooom/assets/8998720/d77aa534-dee8-4233-a9ea-c47db8c78e3e