6
TIL that one missing z-index can bury a whole dropdown for 6 months
A client in Omaha kept saying their nav menu vanished on mobile, I blamed their plugin until I inspected and found a sibling element with a higher z-index from some old modal CSS. Has anyone else spent a whole afternoon chasing a ghost that was just stacking context?
1 comments
Log in to join the discussion
Log In1 Comment
webb.stella5d ago
Honestly, I kind of disagree that it's a ghost. Stacking context is just how browsers work, and that modal code was probably there for a reason. More of a "you forgot to clean up" thing than a mystery.
5