[Modal] ShadowDOM TypeError: node.setAttribute is not a function at ariaHidden (ModalManager.js:21) #16604
Closed
2 tasks done
Labels
component: modal
This is the name of the generic UI component, not the React module!
new feature
New feature or request
Current Behavior 馃槸
throw at
Context 馃敠
I'm rendering Modals into ShadowRoot and ShadowRoot is DocumentFragment instead of Node so there is no
setAttribute
orremoveAttribute
on it.If you curious how I render the React Portal into ShadowRoot, that's not supported by React yet (a patch has been submitted to React), see https://github.com/DimensionDev/Maskbook/blob/master/src/utils/jss/ShadowRootPortal.tsx
The text was updated successfully, but these errors were encountered: