diff --git a/src/popover/popover.directive.ts b/src/popover/popover.directive.ts index b815d0e43c..9fd6a4748e 100644 --- a/src/popover/popover.directive.ts +++ b/src/popover/popover.directive.ts @@ -86,6 +86,7 @@ export class PopoverDirective implements OnInit, OnDestroy { placement: this.placement, title: this.popoverTitle }); + this.isOpen = true; } /** @@ -95,6 +96,7 @@ export class PopoverDirective implements OnInit, OnDestroy { public hide(): void { if (this.isOpen) { this._popover.hide(); + this.isOpen = false; } }