diff --git a/projects/ion/src/lib/dropdown/dropdown.component.scss b/projects/ion/src/lib/dropdown/dropdown.component.scss index 973aa62bb..fbd8a9004 100644 --- a/projects/ion/src/lib/dropdown/dropdown.component.scss +++ b/projects/ion/src/lib/dropdown/dropdown.component.scss @@ -20,7 +20,6 @@ } .container-options { - position: absolute; z-index: $zIndexLow; display: flex; flex-direction: column; diff --git a/projects/ion/src/lib/dropdown/dropdown.component.ts b/projects/ion/src/lib/dropdown/dropdown.component.ts index e5a8a149f..82f3d931d 100644 --- a/projects/ion/src/lib/dropdown/dropdown.component.ts +++ b/projects/ion/src/lib/dropdown/dropdown.component.ts @@ -161,7 +161,9 @@ export class IonDropdownComponent implements AfterViewInit, OnDestroy { this.overlayRef = this.overlay.create({ positionStrategy, - scrollStrategy: this.overlay.scrollStrategies.reposition(), + scrollStrategy: this.overlay.scrollStrategies.reposition({ + autoClose: true, + }), hasBackdrop: false, }); diff --git a/projects/ion/src/lib/modal/modal.component.html b/projects/ion/src/lib/modal/modal.component.html index 6e56bbc21..226302913 100644 --- a/projects/ion/src/lib/modal/modal.component.html +++ b/projects/ion/src/lib/modal/modal.component.html @@ -54,7 +54,7 @@

{{ configuration().title }}

/> } -