Closed champagnealexandre closed 2 years ago
This is likely because the sidebar z-index
value is higher than the zoomed image's. We explain how to increase the z-index
value in the documentation.
Closing for now, feel free to reopen.
@francoischalifour wonderful, working fine now!
Thank you!
Bug description
Zoomed image appears behind any existing sidebar.
I’ve tried using margins, but then the image doesn’t scale correctly on mobile.
I’ve also tried using a container, but the zoomed image appears off-screen.
How to reproduce
Using the following code:
in a website that has a sidebar.
Expected behavior
The image should appear in front of the sidebar.
Reproducible example
For example,
Environment
medium-zoom
version: 1.0.5