@thecb/components 7.0.0-beta.8 → 7.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -49,7 +49,7 @@ const Modal = ({
|
|
|
49
49
|
const { isMobile } = useContext(ThemeContext);
|
|
50
50
|
const modalContainerRef = useRef(null);
|
|
51
51
|
return (
|
|
52
|
-
<
|
|
52
|
+
<div ref={modalContainerRef}>
|
|
53
53
|
{modalOpen && (
|
|
54
54
|
<AriaModal
|
|
55
55
|
// fallback to resolve Jest unit test errors when tabbable doesn't exist in jsdom https://github.com/focus-trap/focus-trap-react/issues/91
|
|
@@ -192,7 +192,7 @@ const Modal = ({
|
|
|
192
192
|
</AriaModal>
|
|
193
193
|
)}
|
|
194
194
|
{children}
|
|
195
|
-
</
|
|
195
|
+
</div>
|
|
196
196
|
);
|
|
197
197
|
};
|
|
198
198
|
|