Closed
Description
@merceyz I have noticed a warning with this demo https://material-ui.com/components/drawers/#responsive-drawer which lead my track down to:
typescript-to-proptypes/src/parser.ts
Lines 355 to 358 in adfcca4
instanceOf(Element)
doesn't work with different documents, e.g. iframe: facebook/prop-types#240 (comment).
We were able to work around the problem in the Popper component with: https://github.com/mui-org/material-ui/blob/c1c66903b8cc3941d0e110f13f49122effdc0e47/packages/material-ui/src/Popper/Popper.js#L238.
Any idea on how we could best solve this problem?
Metadata
Metadata
Assignees
Labels
No labels