-
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
cascader tigger 为 hover 且开启 nzChangeOnSelect 时,hover 父级选项时会触发选中事件 #1966
Comments
@shuizhongxiong Thanks for your feedback. Is this what you expect? Then, we will fix that soon! |
Hint for fixing this issue: We already have code base for this. Just need to find the correct method and change some boolean values... |
@wendzhue Yes, this is what I expected.Thank you very much for fixing it! |
@shuizhongxiong Are you interested in fixing this? Any pr is welcome! |
@wendzhue Ok, let me try it. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Version
1.3.0
Environment
chrome
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-cascader?embed=1&file=src/app/app.component.ts
Steps to reproduce
What is expected?
当同时使用 [nzExpandTrigger]="'hover'" 及 [nzChangeOnSelect]="true" 配置时,鼠标滑过父级选项时展开次级菜单,鼠标点击父级选项时才会触发 ngModelChange 事件
What is actually happening?
当同时使用 [nzExpandTrigger]="'hover'" 及 [nzChangeOnSelect]="true" 配置时,鼠标滑过父级选项时会触发 ngModelChange 事件。
Other?
实际业务场景是有一个行业列表,一级行业下面又有二级行业,希望鼠标滑过左侧一级行业时展开右侧二级行业,点击可以选中一级行业或是二级行业,同时隐藏列表。
The text was updated successfully, but these errors were encountered: