Bug : Material-UI: the `anchorEl` prop provided to the component is invalid.
See original GitHub issueOn Firefox:
The anchor element should be part of the document layout.
Make sure the element is present in the document or that it’s not display none.
Error on Chrome:
checkPropTypes.js:20 Warning: Failed prop type: Material-UI: the anchorEl prop provided to the component is invalid.
The anchor element should be part of the document layout.
Make sure the element is present in the document or that it’s not display none.
in ForwardRef(Popover) (created by WithStyles(ForwardRef(Popover)))
in WithStyles(ForwardRef(Popover)) (created by ColorPicker)
in div (created by ColorPicker)
in ColorPicker (created by Uncontrolled)
in Uncontrolled
in Unknown
in ThemeProvider (created by ThemeProvider)
in ThemeProvider (created by ThemeProvider)
in StylesProvider (created by ThemeProvider)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Related StackOverflow Question
Hello ANy on ehelp me out plx when I am logout my application thats show me above error and display menu or popover
check this it will help you - https://codesandbox.io/s/use-ref-for-anchorel-forked-1pvh1