-
Notifications
You must be signed in to change notification settings - Fork 78
Bug whit Material UI date picker #281
Comments
Probably you need in |
|
Hard to tell why exactly this doesn't work for you. (Pseudocode with TS) const [rootContainer, setRootContainer] = useState<HTMLDivElement | undefined>()
return (
<>
<Box ref={(ref) => setRootContainer((ref as HTMLDivElement) || undefined)}>
/* The dialog must be inserted here */
</Box>
<Dialog container={rootContainer} />
</>
); Additionally, I passed the |
The text was updated successfully, but these errors were encountered: