Create a modal open it by default is currently not working.
const modal = useModal({ isOpenDefault: true });
The following error is displayed :
Uncaught Error: Target container is not a DOM element.
at createPortal$1 (chunk-JSSKJUVL.js?v=88e0160a:21488:19)
at Di (index.tsx:106:8)
at renderWithHooks (chunk-JSSKJUVL.js?v=88e0160a:12171:26)
at mountIndeterminateComponent (chunk-JSSKJUVL.js?v=88e0160a:14921:21)
at beginWork (chunk-JSSKJUVL.js?v=88e0160a:15902:22)
at beginWork$1 (chunk-JSSKJUVL.js?v=88e0160a:19749:22)
at performUnitOfWork (chunk-JSSKJUVL.js?v=88e0160a:19194:20)
at workLoopSync (chunk-JSSKJUVL.js?v=88e0160a:19133:13)
at renderRootSync (chunk-JSSKJUVL.js?v=88e0160a:19112:15)
at recoverFromConcurrentError (chunk-JSSKJUVL.js?v=88e0160a:18732:28)
Waiting that a first render has been done currently works as a workaround.
Create a modal open it by default is currently not working.
const modal = useModal({ isOpenDefault: true });
The following error is displayed :
Waiting that a first render has been done currently works as a workaround.