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
Using shouldForceMount with <TabPanel> logs a React error.
🤔 Expected Behavior?
Using shouldForceMount should not log an error.
😯 Current Behavior
React logs the following error:
Received the string `true` for the boolean attribute `inert`. Although this works, it will not work as expected if you pass the string "false". Did you mean inert={true}?
'use client';import{Tabs,TabList,Tab,TabPanel}from'react-aria-components';exportfunctionClient(){return(<Tabs><TabListaria-label="History of Ancient Rome"><Tabid="FoR">Founding of Rome</Tab><Tabid="MaR">Monarchy and Republic</Tab><Tabid="Emp">Empire</Tab></TabList><TabPanelid="FoR">
Arma virumque cano, Troiae qui primus ab oris.
</TabPanel><TabPanelid="MaR"shouldForceMount>
Senatus Populusque Romanus.
</TabPanel><TabPanelid="Emp">Alea jacta est.</TabPanel></Tabs>);}
Provide a general summary of the issue here
Using
shouldForceMount
with<TabPanel>
logs a React error.🤔 Expected Behavior?
Using
shouldForceMount
should not log an error.😯 Current Behavior
React logs the following error:
https://github.com/facebook/react/blob/372ec00c0384cd2089651154ea7c67693ee3f2a5/packages/react-dom-bindings/src/shared/ReactDOMUnknownPropertyHook.js#L323
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
https://stackblitz.com/edit/stackblitz-starters-yvbwhznr?file=app%2FClient.tsx
Version
[email protected]
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS 15.1.1
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: