mdgriffith/elm-ui

Below attribute adds a z-index of 20 and thus jumps in front of everything

Archill-56 opened this issue · 0 comments

Hi mdgriffith,

I am trying to build a modal that darkens everything behind it. Unfortunately my solution is not darkening a below attribute that I am using for an underline. The below attribute adds a z-index of 20, while the modal doesn’t have an explicit z-index.

Here's a Ellie https://ellie-app.com/kBCDzS4Jytba1 to let you see what I mea!

Expected behavior
The underline should be darkened under the modal like the texts are.

Versions

  • OS: Debian GNU/Linux bookworm/sid
  • Browser: Chrome
  • Browser Version: 108.0.5359.124
  • Elm Version: 0.19.1
  • Elm UI Version 1.1.8