Skip to content

Commit 1edaa73

Browse files
authored
Fix scrolling issue #331
Credit due to @franciscocsysteames
1 parent 2ead628 commit 1edaa73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/js/bootstrap-dialog.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,9 @@
10741074
$(this).remove();
10751075
}
10761076
BootstrapDialog.moveFocus();
1077+
if ($('.modal').hasClass('in')) {
1078+
$('body').addClass('modal-open');
1079+
}
10771080
});
10781081

10791082
// Backdrop, I did't find a way to change bs3 backdrop option after the dialog is popped up, so here's a new wheel.

0 commit comments

Comments
 (0)