Skip to content

Commit e71d5dd

Browse files
fix: FIT-153: LSO - deleting a project causes us to not be able to scroll on projects page after redirection (#7624)
1 parent e5c6eb8 commit e71d5dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/apps/labelstudio/src/components/Modal/ModalPopup.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export class Modal extends React.Component {
4040
}
4141

4242
componentWillUnmount() {
43+
document.body.style.overflow = "";
4344
document.removeEventListener("keydown", this.closeOnEscape, { capture: !this.props.allowToInterceptEscape });
4445
}
4546

0 commit comments

Comments
 (0)