Skip to content

Commit 96128c2

Browse files
committed
fix: 🐛 isVisible should run inside the zone
1 parent 1ab35dc commit 96128c2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

projects/ngneat/helipopper/src/lib/tippy.directive.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,10 @@ export class TippyDirective implements OnChanges, AfterViewInit, OnDestroy, OnIn
252252
},
253253
onHidden: instance => {
254254
this.destroyView();
255-
this.isVisible = false;
256-
this.visible.next(false);
255+
this.zone.run(() => {
256+
this.isVisible = false;
257+
this.visible.next(false);
258+
});
257259
this.globalConfig.onHidden?.(instance);
258260
}
259261
});

0 commit comments

Comments
 (0)