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
4.0放在Dropdown里的Popconfirm无法正常生效 #22007
Comments
我看FAQ的说明是: 我看了下线上的antd版本是3.20.0,测试环境是4.0.1 |
看了一下你的场景不太一样。点击 Menu.Item 默认都会触发 Dropdown 关闭。 你可以用阻止冒泡取消这个行为:https://codesandbox.io/s/antd-reproduction-template-yhzh6 或者按你说的,参照 https://ant.design/components/dropdown-cn/#components-dropdown-demo-overlay-visible 手动控制 Dropdown 的 |
好的,非常感谢! |
请问typescript的话,onClick的props没在定义上,如何覆盖组件的props呢 |
@afc163 如果 Dropdown 下有操作呢, 比如有一个 Input, 我在 onClick => event.stopPropagation() , 但是自身的 onChange 将无效了, 请问该怎么搞
|
请问你解决了吗,我遇到跟你一样的问题,antd 3.20.x |
Reproduction link
Steps to reproduce
点击操作 -> 删除
What is expected?
弹出确认删除的弹框,点击确认
What is actually happening?
弹框秒消失
The text was updated successfully, but these errors were encountered: