Go to responsive view in dev tools and make sure you use the touch emulation.
Place an element with a tooltip in hover mode.
Now make the element show a modal on click.
What is expected?
The tooltip should be discarded and only the modal should remain opened.
ng-zorro-antd is now optimized for mobile devices. As a temporary solution, you can manually hide the tooltip when the button is blurred. You can also try ng-zorro-antd-mobile.
Reproduction link
https://stackblitz.com/edit/ng-zorro-tooptip-modal-persist?file=src/app/app.component.ts
Steps to reproduce
Go to responsive view in dev tools and make sure you use the touch emulation. Place an element with a tooltip in hover mode. Now make the element show a modal on click.
What is expected?
The tooltip should be discarded and only the modal should remain opened.
What is actually happening?
Both the modal and the tooltip show up.