You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
view_msg_inputarea_options_btn_menu_item divider enabled pidx mdl name iconname msgType =Menu.Item[if divider then Menu.divider else Options.nop
,if enabled then Options.nop else Menu.disabled
][Button.render Mdl
pidx
mdl
[Button.ripple
, button_onClick msgType
][Icon.i iconname
, text name
]]
So both my button ripples, and the background of the menu item ripples distinctly. The menu item itself also seems to send no onclick message, nor should it since that should be handled by my button, or the button should be disallowed and it should be handled by the item. It seems the 'ripple' property on the menu does not apply to the menu button, but rather the menu items, so no way to set them individually.
The text was updated successfully, but these errors were encountered:
Fix ripples / onSelect engaging on disabled menu items.
Now maps over offsetTops, offsetHeights rather than continuously
looking up in Arrays. Avoids conversion List -> Array on Open event.
Fix#142.
As of elm-mdl version 7.0.0 the menu items themselves are rippling when they should not be. My menu's are defined as:
Where each item is defined as:
So both my button ripples, and the background of the menu item ripples distinctly. The menu item itself also seems to send no onclick message, nor should it since that should be handled by my button, or the button should be disallowed and it should be handled by the item. It seems the 'ripple' property on the menu does not apply to the menu button, but rather the menu items, so no way to set them individually.
The text was updated successfully, but these errors were encountered: