Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(overlay): Overlay never reopens if closed via scrolling.
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye authored and tomheller committed Mar 29, 2021
1 parent 80c6477 commit c241eaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/barista-components/overlay/src/overlay-ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class DtOverlayRef<T> {
private _config: DtOverlayConfig,
) {
containerInstance._onDomExit.pipe(take(1)).subscribe(() => {
this.dismiss();
this._overlayRef.dispose();
this._pinned = false;
this._afterExit.next();
Expand Down

0 comments on commit c241eaa

Please sign in to comment.