Repository navigation
[Help]: Embla is always on top of every other content no matter what z-index I set #973
Replies: 3 comments 4 replies
|
Hi @thetanaz, Thanks for your question. Embla has no internal code that applies Best, |
|
Okay, I figured out the issue, just have no idea how to fix it. This is what my browser inspector shows and I just realized that embla uses transform:translate3d to move the images. I think this somehow overrides the stacking context and it makes it so the carousel always sits on top of any other items, no matter what z-index is set. |

Hi @thetanaz,
Thanks for your question. Embla has no internal code that applies
z-indexto any element whatsoever. So this is either caused by your code or the other libraries you're using. Good luck finding the culprit.Best,
David