Skip to content

Commit

Permalink
fix(ui5-dialog): unblock body scrolling when dialog is removed from D…
Browse files Browse the repository at this point in the history
…OM (#1756)
  • Loading branch information
MapTo0 committed Jun 9, 2020
1 parent 5ae48a8 commit 6742295
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/main/src/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ class Dialog extends Popup {
}
}

onExitDOM() {
if (this.isOpen()) {
Dialog.unblockBodyScrolling();
}
}

get isModal() {
return true;
}
Expand Down

0 comments on commit 6742295

Please sign in to comment.