medium-zoom
medium-zoom copied to clipboard
🔎🖼 A JavaScript library for zooming images like Medium
On slow connections, when starting a zoom, the overlay cannot be closed until the images has loaded (`opened` event has fired). This may result in a user experience where the...
## Summary Currently, we subscribe to the browser events `click`, `keyup`, `scroll`, and `resize` every time the `mediumZoom` function is called, which also happens during `clone`. Instead of always being...
## The problem When I apply medium-zoom to all images in my (blogging) application, some images are smaller than the viewport at their largest size, but get zoomed to fit...
## 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. ##...
Fixes #154. Not tested but according to #154 this should work.
## 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,...
## Bug description > Picture zoom is not on viewport when injected onto page > And this problem only occurs in post-build versions, not in development. ## How to reproduce...
## Bug description The image is shrinking a little bit when the image is being zoomed out. Here's a demo below: https://github.com/user-attachments/assets/cad41a77-2e65-4be6-8cd7-0f6e922a6610 ## How to reproduce Just the regular setup....
## Bug description > Position of image in overlay is dependent on viewport size. It renders below the fold for long pages. ## How to reproduce > check out https://botflip.com/privacy...
## Summary ## Result