-
Notifications
You must be signed in to change notification settings - Fork 331
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
Image disappears on zoom #70
Comments
Only thing I can think of is that I'm having to strip the http: or https: from all links to validate the SSL. |
Ignore me! Sorry, problem with overlay z-index. |
This is happening to me as well. What was your solution? I've been messing with the z-index settings to try and get it working but still same issue as you. |
I'm having the same issue. Any fix yet? |
Having the same issue here. If the image is placed in a (relative) container with a z-index specified, you're probably screwed. The overlay will cover the container, and since the image has a z-index relative to its container, the image gets covered as well. |
same issue.. |
I created a PR to fix it. the core diff is changing the zoom-overlay position from the |
@geekplux Thanks for your contribution, however your commit doesn't work for me. I'm trying to zoom images that live within a swiper slide (https://github.com/nolimits4web/Swiper). Could you please tell me what you meant by changing the .zoom-overlay position? You mean that this element should be a child of .zoom-img-wrap? |
@cloudrocketsoftware Thanks :) - document.body.appendChild(this._overlay)
+ this._targetImageWrap.parentNode.insertBefore(this._overlay, this._targetImageWrap) https://github.com/fat/zoom.js/pull/78/files#diff-3480795a24ca13743948f6ea832c7c5dR160 |
I have the same problem when I use bxSlider. If I apply this, the image appears but overlay don't. |
Moving onto the fork; https://github.com/spinningarrow/zoom-vanilla.js, solved my issues. |
@geekplux |
@kakoni thanks! zoom-vanilla.js works for me. |
Can't work this one out at all!
Image starts to zoom then vanishes, leaving only the overlay.
Both images on homepage (and elsewhere) exhibit this.
https://classictheatrecumbria.co.uk
The text was updated successfully, but these errors were encountered: