Open
Description
Bug description
On a MacBook using Safari browser, when repeatedly clicking to zoom in and zoom out images with medium-zoom version 1.0.8, the zoomed-out image disappears after several operations, but the overlay remains. This issue causes the page to be unclickable, requiring a refresh to regain functionality.

How to reproduce
A list of the steps to reproduce the bug.
- Open the blog post at https://www.hsuyeung.com/article/support-live-photo in Safari on a MacBook.
- Click on any image to zoom in.
- Click again to zoom out.
- Repeat steps 2 and 3 multiple times.
Expected behavior
The image should reappear after zooming out and the overlay should disappear, allowing the page to be interactable without requiring a refresh.
Reproducible example
https://www.hsuyeung.com/article/support-live-photo
- Browser: Safari / 17.5 (19618.2.12.11.6)
medium-zoom
version: 1.0.8
Metadata
Metadata
Assignees
Labels
No labels