[ListItem] Warning in Chrome because of rootRef prop
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
When I use ListItem with rootRef I get a Warning-Message in console in Chrome:
Warning: React does not recognize the rootRef
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase rootref
instead. If you accidentally passed it from a parent component, remove it from the DOM element.
(i need rootRef because i want to show a popover on the listItem, and the listItem should be the anchorElement)
“material-ui”: “1.0.0-beta.23” “react”: “16.2.0”
Chrome: Version 62.0.3202.94
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
[ListItem] Warning in Chrome because of rootRef prop #9494
When I use ListItem with rootRef I get a Warning-Message in console in Chrome: Warning: React does not recognize the rootRef prop on...
Read more >Breaking changes in v5, part two: core components - Material UI
The clone prop was removed because its behavior can be obtained by applying the sx prop directly to the child if it is...
Read more >material-ui/core/CHANGELOG.md - UNPKG
The Tabs `fullWidth` and `scrollable` properties can't be used at the same time. The API change prevents any awkward usage. 22.
Read more >DataSnapshot | JavaScript SDK | Node.js (client) API reference
var rootRef = firebase.database().ref(); rootRef.once("value") ... Because of the way JavaScript objects work, the ordering of data in the JavaScript object ...
Read more >Diff - 0df2607f98..0e821c2fa2 - chromium/src - Git at Google
-58,6 +59,10 @@ // Scroll the notification list to ... Log a warning message because, for now, this should not basically happen -...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@perevezencev You might want to use the
RootRef
component:https://codesandbox.io/s/wqvx1qr2v8
@oliviertassinari thank you, its work for me