diff --git a/components/tooltip/base/nz-tooltip-base.directive.ts b/components/tooltip/base/nz-tooltip-base.directive.ts index 32c45fdd0b0..f600b99a531 100644 --- a/components/tooltip/base/nz-tooltip-base.directive.ts +++ b/components/tooltip/base/nz-tooltip-base.directive.ts @@ -201,7 +201,6 @@ export abstract class NzTooltipBaseDirective implements OnChanges, OnInit, OnDes this.$destroy.complete(); // Clear toggling timer. Issue #3875 #4317 #4386 - this.hide(); this.clearTogglingTimer(); this.removeTriggerListeners(); @@ -342,9 +341,9 @@ export abstract class NzTooltipBaseDirective implements OnChanges, OnInit, OnDes } private delayEnterLeave(isOrigin: boolean, isEnter: boolean, delay: number = -1): void { - this.clearTogglingTimer(); - - if (delay > 0) { + if (this.delayTimer) { + this.clearTogglingTimer(); + } else if (delay > 0) { this.delayTimer = setTimeout(() => { this.delayTimer = undefined; isEnter ? this.show() : this.hide();