debois / elm-mdl

Elm-port of the Material Design Lite CSS/JS library
Apache License 2.0
965 stars 133 forks source link

Menu doesn't show properly when used in a list item #371

Open SandiCat opened 6 years ago

SandiCat commented 6 years ago

image

li [ content [ text "test"], Menu.render ...]

As you can see, when used within a list item (as an icon would be, in the demo), the Menu displays only a very small portion of itself (the white rectangle in the picture), as if it was capped within the rectangle of the list item. Removing some position: relative property in the internal CSS fixes it, but then it doesn't show up next to the button.