Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Fix broken Menu.icon option in the v9 branch #378

Open
wants to merge 3 commits into
base: v9
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Material/Menu.elm
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ import Material.Internal.Dropdown as Dropdown
import Material.Internal.Geometry as Geometry exposing (Geometry)
import Material.Internal.Menu exposing (ItemInfo, Msg(..))
import Material.Internal.Options as Internal
import Material.Msg exposing (Index)
import Material.Msg exposing (Index)
import Material.Options as Options exposing (Style, cs, css, styled, styled_, when)
import Material.Ripple as Ripple
import Mouse
Expand Down Expand Up @@ -418,7 +418,7 @@ view lift model properties items =
}
"""
]
[ Icon.view "more_vert"
[ Icon.view config.icon
[ cs "material-icons"
, css "pointer-events" "none"
]
Expand Down