diff --git a/projects/ion/src/lib/popover/popover.directive.ts b/projects/ion/src/lib/popover/popover.directive.ts index 5871f82b7..4fe3d67b7 100644 --- a/projects/ion/src/lib/popover/popover.directive.ts +++ b/projects/ion/src/lib/popover/popover.directive.ts @@ -169,13 +169,8 @@ export class IonPopoverDirective implements OnDestroy { } private shouldClosePopover(index: number): boolean { - const ionIconCloseIndex = 2; const action = this.ionPopoverActions && this.ionPopoverActions[index]; - if (index === ionIconCloseIndex) { - return true; - } - return !action || !action.keepOpenAfterAction; } }