You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a dropdown with trigger=click and nzBackdrop=false
Add a button beside that will do something on hover.
Open the dropdown menu and hover on the button - hover effect works. Click on the dropdown button - menu not closed.
Close the menu by selecting an item from it.
Open the dropdown menu and hover on the button - hover effect doesn't work. Click on the dropdown button - menu is closed.
What is expected?
Hover effect of elements beside always should work. Menu should always be closed when clicking on the dropdown button.
What is actually happening?
Hover effect works only in the first open.
Menu is not closed when clicking on the dropdown in the first open, only in the next opens.
Environment
Info
ng-zorro-antd
8.1.0
Browser
Chrome 75
The text was updated successfully, but these errors were encountered:
Hi @amiram, this is totally my fault, coming from PR #3769.
I have fixed this on #3831, you can read the explanation there.
I have just added additional tests to prevent this happening again, also, I use it on my own work projects, so I had to fix it immediately.
Again, sorry!
Reproduction link
https://stackblitz.com/edit/angular-q8zww2
Steps to reproduce
Add a dropdown with trigger=click and nzBackdrop=false
Add a button beside that will do something on hover.
Open the dropdown menu and hover on the button - hover effect works. Click on the dropdown button - menu not closed.
Close the menu by selecting an item from it.
Open the dropdown menu and hover on the button - hover effect doesn't work. Click on the dropdown button - menu is closed.
What is expected?
Hover effect of elements beside always should work. Menu should always be closed when clicking on the dropdown button.
What is actually happening?
Hover effect works only in the first open.
Menu is not closed when clicking on the dropdown in the first open, only in the next opens.
The text was updated successfully, but these errors were encountered: