Skip to content

Commit 6742295

Browse files
authored
fix(ui5-dialog): unblock body scrolling when dialog is removed from DOM (#1756)
1 parent 5ae48a8 commit 6742295

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/main/src/Dialog.js

+6
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ class Dialog extends Popup {
131131
}
132132
}
133133

134+
onExitDOM() {
135+
if (this.isOpen()) {
136+
Dialog.unblockBodyScrolling();
137+
}
138+
}
139+
134140
get isModal() {
135141
return true;
136142
}

0 commit comments

Comments
 (0)