-
Notifications
You must be signed in to change notification settings - Fork 4k
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
在popover中使用dropdown组件导致popover不按正常逻辑关闭 #6177
Comments
@wenqi73 这个应该是去掉 mask 之后点击事件被 disaptch 所有浮层元素导致的,这个有通用的解决方法吗? |
@wendellhu95 11 会加个 |
11 大概进度还要多久呀~ |
可关注我们的 milestone https://github.com/NG-ZORRO/ng-zorro-antd/milestone/7 |
#6064 这个pr能解决此问题吗 |
Same problem. Will this be fixed in v10.x? |
Same problem, please fix it in v10.x |
Will fixed in 11.0, you can downgrade to 10.0.2 to avoid this if you use 10.x |
Our projects are use for 10000+ users , and every user cost 1+ hours per day。We have to upgrade ng-zorro carefully。 Maybe downgrade to 10.0.2 is a solution,but there are other problems.
So actually,We can not use 10.0.2 in production environment。We have to wait for this bug fixed in 10.x, or wait for 11.1/11.2(not 11.0) |
Reproduction link
https://stackblitz.com/edit/dropdown-in-popover-bug?file=src/app/app.component.ts
Steps to reproduce
在popover中使用dropdown组件,点开dropdown组件后,通过clickoutside的方式关闭dropdown组件,会导致popover组件也被关闭,如图:
![popover-bug](https://user-images.githubusercontent.com/20921324/101748701-d89e6080-3b07-11eb-8c3d-efdb3d4127c7.gif)
What is expected?
关闭popover中的dropdown组件不会导致popover被关闭
What is actually happening?
关闭popover中的dropdown组件会导致popover被关闭
使用场景为:popover中可能会有下拉列表(dropdown)来选择一些条目,现在的表现为选择过后,popover整个被关闭了
The text was updated successfully, but these errors were encountered: