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

Close menu after click on any menu item #65

Closed
ophite opened this issue Nov 23, 2016 · 2 comments
Closed

Close menu after click on any menu item #65

ophite opened this issue Nov 23, 2016 · 2 comments

Comments

@ophite
Copy link

ophite commented Nov 23, 2016

No description provided.

@thomassuckow
Copy link

It is a total hack, but you can use:

onClick = (e) => {
      e.item.props.onOpenChange({open:false, key:e.item.props.openKeys[0]});
}

@benjycui
Copy link
Member

@ophite I think it is a UX which can be implemented with current features easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants