@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.cjs.js CHANGED
@@ -43343,7 +43343,7 @@ var Modal$1 = function Modal(_ref) {
43343
43343
  return /*#__PURE__*/React__default.createElement(React.Fragment, null, modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal, {
43344
43344
  initialFocus: closeBtnRef !== null && closeBtnRef !== void 0 ? closeBtnRef : bodyTextContainerRef,
43345
43345
  focusTrapOptions: {
43346
- delayInitialFocus: true,
43346
+ delayInitialFocus: false,
43347
43347
  fallbackFocus: closeBtnRef !== null && closeBtnRef !== void 0 ? closeBtnRef : bodyTextContainerRef
43348
43348
  } // fallback to resolve unit test errors https://github.com/focus-trap/focus-trap-react/issues/91
43349
43349
  ,