You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using Strict mode, I am getting this waring message:
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
at div
at Paper ((Project folder)/node_modules/@material-ui/core/Paper/Paper.js:55:23)
at WithStyles ((Project folder)/node_modules/@material-ui/styles/withStyles/withStyles.js:67:31)
at Transition ((Project folder)/node_modules/react-transition-group/cjs/Transition.js:135:30)
at Grow ((Project folder)/node_modules/@material-ui/core/Grow/Grow.js:51:24)
at Unstable_TrapFocus ((Project folder)/node_modules/@material-ui/core/Unstable_TrapFocus/Unstable_TrapFocus.js:30:24)
at div
at Portal ((Project folder)/node_modules/@material-ui/core/Portal/Portal.js:39:24)
at Modal ((Project folder)/node_modules/@material-ui/core/Modal/Modal.js:94:36)
at Popover ((Project folder)/node_modules/@material-ui/core/Popover/Popover.js:118:22)
at WithStyles ((Project folder)/node_modules/@material-ui/styles/withStyles/withStyles.js:67:31)
at div
at StylesProvider ((Project folder)/node_modules/@material-ui/styles/StylesProvider/StylesProvider.js:57:24)
at qe ((Project folder)/node_modules/src/components/ColorPicker.jsx:53:22)
To Reproduce
Steps to reproduce the behavior:
Add React.StrictMode
Add ColorPicker code as defined in the Additional context
Click on the color picker component
See error
Expected behavior
ColorPicker should be able to work with strict mode
Desktop (please complete the following information):
Describe the bug
Using Strict mode, I am getting this waring message:
To Reproduce
Steps to reproduce the behavior:
React.StrictMode
Expected behavior
ColorPicker should be able to work with strict mode
Desktop (please complete the following information):
Additional context
Code using color picker:
The text was updated successfully, but these errors were encountered: