Closed Vardidis closed 3 months ago
Should release a fix for this soon
A fix is already done, I will be doing some tests, then push the changes and update the demo page.
Thanks for pointing this out to me,
This has now been released
Working just fine now, thanks for the instant fix brother.
It looks like when swapping the image source it takes a second to zoom out to default zoom.
This is my code:
<ImageZoom className="product-main-img" src={bigImage} alt="" zoom="300"/>
I change the source of the big image using useState when hovering over a small image. I tried changing values for zoom but the issue remained.
https://github.com/Mario-Duarte/react-image-zooom/assets/44882528/306e0e05-28da-4991-9e60-336c1456d1bb