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
I've been trying to customize the menu appearance. By default the menu appears where each item is in a menu row. My goal is to customize the menu where it renders as one row and in the row each ContextualItem appears in each column. My items are always fixed. 5 items. To be exact, 5 icons.
So I used the onRenderMenuList property to set a div element where the div sets the rule/style to render the items as {display: 'flex', flexDirection: 'row'}.
After this, the menu is not dismissing on click of an item.
Any ideas, how I can properly style the items to be rendered in one Row and dismiss the menu onClick of each item.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been trying to customize the menu appearance. By default the menu appears where each item is in a menu row. My goal is to customize the menu where it renders as one row and in the row each ContextualItem appears in each column. My items are always fixed. 5 items. To be exact, 5 icons.
So I used the
onRenderMenuList
property to set a div element where the div sets the rule/style to render the items as {display: 'flex', flexDirection: 'row'}.After this, the menu is not dismissing on click of an item.
Any ideas, how I can properly style the items to be rendered in one Row and dismiss the menu onClick of each item.
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions