Skip to content
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

invalid image (and possibly slow loading image) breaks behavior, gets trapped inside zoom #215

Open
719media opened this issue May 10, 2024 · 0 comments

Comments

@719media
Copy link

Bug description

Medium zoom won't ever close if the image never loads. For example, dropped or slow connection. Troubleshooting further, this only happens when srcset is in use.

How to reproduce

  1. https://codesandbox.io/p/sandbox/sweet-jepsen-hc9n4f?file=%2Findex.html%3A23%2C1
  2. Contract clicking on the first invalid image vs. the second. The first "doesn't work" (can't close after open, and doesn't animate), and the second works.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant