-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Zoomable image breaks on Chrome #470
Comments
@brew-matija Can you please provide a functioning sample of this breaking for me to work with? It works for me in Chrome. Thank you for providing browser, OS, and environment details. |
I've noticed the same issue and it can be reproduced with a lazy-loaded image, by clicking the image before the image has been loaded. |
Ah, that's interesting. Thanks for the context! |
I've got a fix for this I'll try to get out in the next 6-10 hours |
@brew-matija @jiayihu This should be fixed in |
Update: I found an accidental dependency on |
I finally tested the fix and I can confirm it's working correctly now, thanks for the quick fix ❤️ |
Issue Type
Description
This bug is apparent only in Chrome. Tested it in Firefox and Safari, those work as normal. When clicking a zoomable image, it sometimes works properly, and other times it doesn't show a magnifying glass cursor, just a regular pointer and if you click the image then it disappears and the other page interactions are broken. Escape key does nothing and the only way out is to refresh the page. On subsequent refreshes the component sometimes works properly and sometimes doesn't.
Tried both the Controlled and Uncontrolled versions, same thing.
Place detailed information here
Chrome Version 122.0.6261.129 (Official Build) (arm64)
MacOS Sonoma Version 14.0 (23A344)
Next 13.5.6
The text was updated successfully, but these errors were encountered: