-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
Description
Thanks for your great work here.
I'm trying to replicate the nested menu from http://semantic-ui.com/collections/menu.html
It is the example with the left aligned Wrench icon dropdown and the 'Search Animals' search box.
Since your documentation is currently light, I'm struggling to figure out if nested menus is supported by playing.
This code ends up with 'Hi' menu item having a arrow icon indicating a sub menu, but clicking does nothing. I would expect since DropdownMenu requires explicit active toggling of it, but this doesn't work, nor seems a correct approach anyway.
I've tried nesting a Menu instead of DropdownMenu as well.
<Menu className="top">
<DropdownMenu active={this.state.active} component={iconButton}
onMenuItemClick={this.menuItemClicked.bind(this)}
onClick={this.toggleDropdown.bind(this)}>
<MenuItem menuValue="0">First</MenuItem>
<MenuItem>Hi
<DropdownMenu vertical={true}>
<MenuItem menuValue="1">Second</MenuItem>
</DropdownMenu>
</MenuItem>
</DropdownMenu>
</Menu>