Skip to content
Snippets Groups Projects
Commit 9019652f authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Fix #4471 part 2

parent 265c8789
No related branches found
No related tags found
No related merge requests found
......@@ -143,8 +143,12 @@ export class FullPageModal extends Component {
this._renderModal(false);
// restore scroll position and scrolling
window.scrollTo(this._scrollX, this._scrollY);
document.body.style.overflow = "unset";
document.body.style.overflow = "";
// On IE11 a timeout is required for the scroll to happen after the change of overflow setting
setTimeout(() => {
window.scrollTo(this._scrollX, this._scrollY);
}, 0)
// wait for animations to complete before unmounting
setTimeout(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment