@thecb/components 7.0.0-beta.4 → 7.0.0-beta.5
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/dist/index.esm.js
CHANGED
|
@@ -43335,7 +43335,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
43335
43335
|
return /*#__PURE__*/React.createElement(Fragment$1, null, modalOpen && /*#__PURE__*/React.createElement(reactAriaModal, {
|
|
43336
43336
|
initialFocus: closeBtnRef !== null && closeBtnRef !== void 0 ? closeBtnRef : bodyTextContainerRef,
|
|
43337
43337
|
focusTrapOptions: {
|
|
43338
|
-
delayInitialFocus:
|
|
43338
|
+
delayInitialFocus: false,
|
|
43339
43339
|
fallbackFocus: closeBtnRef !== null && closeBtnRef !== void 0 ? closeBtnRef : bodyTextContainerRef
|
|
43340
43340
|
} // fallback to resolve unit test errors https://github.com/focus-trap/focus-trap-react/issues/91
|
|
43341
43341
|
,
|