Replies: 1 comment
-
The problem seems to be from the fact I deployed this react app using shadowDOM, and maybe since the inside functionality use document.get.... or something similiar, it does not get detected maybe? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I removed DialogPortal from dialog.tsx and replace it with div, the reason I did this is for isolation, since normally it will append to html body. Using custom portal container result in the same problem

doing this, when opening dialog it always console.error() :
DialogContent
requires aDialogTitle
for the component to be accessible for screen reader users.If you want to hide the
DialogTitle
, you can wrap it with our VisuallyHidden component.this is my use case

Beta Was this translation helpful? Give feedback.
All reactions