Skip to content

Commit

Permalink
fix(Confirmation): background will not scroll away from overlay
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #1391
  • Loading branch information
shani-terminus authored and benjamincharity committed Mar 18, 2019
1 parent 6328a42 commit fc0f7ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terminus-ui/confirmation/src/confirmation.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ export class TsConfirmationDirective implements OnDestroy, OnInit {

const overlayConfig: OverlayConfig = new OverlayConfig({
positionStrategy,
scrollStrategy: this.overlay.scrollStrategies.reposition(),
hasBackdrop: true,
backdropClass: 'ts-confirmation-overlay',
panelClass: ['qa-confirmation', 'ts-confirmation-overlay__panel', `${positionClass}`],
Expand Down

0 comments on commit fc0f7ce

Please sign in to comment.