We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 315d20c commit c416c16Copy full SHA for c416c16
1 file changed
src/components/Modal/ModalBase.web.tsx
@@ -52,6 +52,10 @@ class ModalBase extends React.PureComponent<ModalBaseProps> {
52
this.focusTrap.activate();
53
}
54
} else {
55
+ if (this.focusTrap) {
56
+ this.focusTrap.pause();
57
+ }
58
+
59
if (!isBackgroundScrollable) {
60
document.body.style.overflow = '';
61
document.body.style.height = '';
0 commit comments