kingdido999 / zooming

🔍 Image zoom that makes sense.
https://kingdido999.github.io/zooming
MIT License
1.61k stars 121 forks source link

Add config option to specify parent container for overlay #318

Open r0st1kuzh opened 3 years ago

r0st1kuzh commented 3 years ago

Before you submit a feature request, please make sure to read through Documentation.

Is your feature request related to a problem? Please describe. I'm always frustrated when overlay overlays zoomed image because stacking context

Describe the solution you'd like I would like to set overlay in the same stacking context as images. Maybe add some config option to point to parent class where overlay should be rendered?

Describe alternatives you've considered I've tried to set different z-indexes, but nothing works, overlay is either above or below the zoomed image.