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
I believe any usage of SideNav in one's app will produce this console warning now. Ren Maddox reported this 22 days ago in the Slack carbon-react channel (search for "inert"). Looks like Guilherme reproduced it in StackBlitz, but I don't believe he ever opened an Issue. I have removed the inert prop on the offending line in SideNav.js to keep my log from blowing up with this.
Warning: Received `false` for a non-boolean attribute `inert`.
If you want to write it to the DOM, pass a string instead: inert="false" or inert={value.toString()}.
If you used to conditionally omit it with inert={condition && value}, pass inert={condition ? value : undefined} instead.
at nav
at SideNavRenderFunction (c:\GitClones\CDD-Hub\node_modules\@carbon\react\lib\components\UIShell\SideNav.js:38:15)
Reproduction/example
see description
Steps to reproduce
see description
Suggested Severity
Severity 4 = Unrelated to a user task, has a workaround or does not need a workaround.
Package
@carbon/react
Browser
No response
Package version
1.40
React version
17 and 18 both show the warning
Description
I believe any usage of SideNav in one's app will produce this console warning now. Ren Maddox reported this 22 days ago in the Slack carbon-react channel (search for "inert"). Looks like Guilherme reproduced it in StackBlitz, but I don't believe he ever opened an Issue. I have removed the inert prop on the offending line in SideNav.js to keep my log from blowing up with this.
Reproduction/example
see description
Steps to reproduce
see description
Suggested Severity
Severity 4 = Unrelated to a user task, has a workaround or does not need a workaround.
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: