DEV Community

Discussion on: Working with menus in elm-ui

Collapse
 
mboren profile image
Marty Boren

This was very helpful. In my case, I was trying to display a menu on top of other content, so I had to use use Element.inFront in place of Element.behindContent because the content would cover up the clickable region.

Element.el
[ Element.inFront fullWidthBackgroundThatClosesMenuOnClick
, Element.inFront myMenu
]
(...content...)