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

components/dropdown/手动定位,右击出现后,必须选择后才消失,点击页面其它位置它也应该关闭 #123

Closed
Lonely-flyer opened this issue Jun 15, 2021 · 1 comment · Fixed by #199
Labels
feature request New feature or request

Comments

@Lonely-flyer
Copy link

This function solves the problem (这个功能解决的问题)

增强友好,右击出现dropdown后不一定选择某项之后才能关闭,点击dropdown外部它也应该关闭

Expected API (期望的 API)

https://ant.design/components/dropdown-cn/
他应该像antd一样出现之后,再次点击任何位置就关闭了

@07akioni
Copy link
Collaborator

07akioni commented Jun 15, 2021

In manual mode you should controll show status by yourself. However, we will consider exposing an onClickoutside prop to help you manage show status.

@07akioni 07akioni added the feature request New feature or request label Jun 15, 2021
@07akioni 07akioni linked a pull request Jun 20, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants