Closed paazca closed 1 year ago
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit d7bf709723955e58bf9244bb5cea1afe78c1ca44:
Sandbox | Source |
---|---|
@medium-zoom/vanilla-example | Configuration |
Thanks for the PR @paazca, I'll review it in the next few days!
@francoischalifour When can you review this? I tried it and it fixed the issue for me.
@paazca Any chance you also add a test for this?
I've been running into this as well; fix looks solid (same as what I did locally).
Any chance of this getting merged?
🎉 This fix was released in v1.0.7.
Thanks @francoischalifour & @paazca 🙏 😄 🙏
Attempt at fixing #177 In some cases, pressing an image makes it zoom out.
Gif of the issue:![image](https://user-images.githubusercontent.com/31186542/125167307-8827d800-e1a8-11eb-9fa7-ac890ac7a118.gif)
With these proposed changes, images will only zoom out if they're bigger than the viewport.