We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f79b30 commit 315baf6Copy full SHA for 315baf6
projects/igniteui-angular/src/lib/directives/tooltip/tooltip.directive.ts
@@ -193,9 +193,8 @@ export class IgxTooltipDirective extends IgxToggleDirective implements OnDestroy
193
*/
194
public forceClose(overlaySettings: OverlaySettings) {
195
const info = this.overlayService.getOverlayById(this._overlayId);
196
- const hasCloseAnimation = info ? info.closeAnimationPlayer : false;
197
198
- if (hasCloseAnimation) {
+ if (info && info.closeAnimationPlayer) {
199
info.closeAnimationPlayer.finish();
200
info.closeAnimationPlayer.reset();
201
info.closeAnimationPlayer = null;
0 commit comments