Skip to content
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

nzTooltipTrigger does not change based on property #4365

Closed
darshanrampatel opened this issue Oct 31, 2019 · 0 comments · Fixed by #4397
Closed

nzTooltipTrigger does not change based on property #4365

darshanrampatel opened this issue Oct 31, 2019 · 0 comments · Fixed by #4397

Comments

@darshanrampatel
Copy link
Contributor

darshanrampatel commented Oct 31, 2019

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-qfjyrm

Steps to reproduce

Initially, the nzTooltipTrigger is set to 'hover' and hovering over the span shows the tooltip.

Change the trigger value to 'click' via the select.

What is expected?

The tooltip should now show on 'click'.

What is actually happening?

The tooltip is still shown on 'hover'.

Environment Info
ng-zorro-antd 8.4.1
Browser Chrome

I am trying to let the trigger type be selectable by the end-user.

hsuanxyz pushed a commit that referenced this issue Nov 8, 2019
* feat(module:tooltip): support changing trigger

* fix: remove listeners when directive destroys

close #4365
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
* feat(module:tooltip): support changing trigger

* fix: remove listeners when directive destroys

close NG-ZORRO#4365
@hsuanxyz hsuanxyz mentioned this issue Apr 15, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
* feat(module:tooltip): support changing trigger

* fix: remove listeners when directive destroys

close NG-ZORRO#4365
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants