Is z-index necessary on .swiper and .swiper-wrapper? #5988
markedwards
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
.swiper
and.swiper-wrapper
classes havez-index: 1
on them, which messes with the stacking order of the surrounding layout. What is the reason for these declarations?I end up wrapping the swiper elements in an
isolation: isolate
to deal with it, but it seems like these declarations could be removed so the elements would not interfere with the normal stacking order.Beta Was this translation helpful? Give feedback.
All reactions