[BUG]: NavMenuButton: React does not recognize the innerRef
prop on a DOM element.
#421
Labels
bug
Something isn't working
innerRef
prop on a DOM element.
#421
Current behaviour
Big red warning message in console (the message appear only in development mode of react-dom).
It does not break anything, but it's very annoying for the devs.
Expected behaviour
Not see the error
Steps to reproduce
Context (version, environment, browser)
@equisoft/design-elements-react: 4.0.0
react: 17.0.2
react-dom: 17.0.2
NODE_ENV = development
Screenshots (optional)
The inspect element
Additional details (optional)
Filter out innerRef when passing the props to the HTMLElement
The text was updated successfully, but these errors were encountered: