-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Provide a general summary of the issue here
The props of TabPanels are spread in the root div element.
| {...props} |
In dynamic collections that means at least items. For example:
<div items="[object Object],[object Object],[object Object]" class="react-aria-TabPanels">
{/* ... */}
</div>It is reproducible on the new docs:
https://react-aria.adobe.com/Tabs#content
π€ Expected Behavior?
Use typical filter props:
const DOMProps = filterDOMProps(props, {global: true});
π― Current Behavior
Any prop is stringified to the dom.
π Possible Solution
No response
π¦ Context
RAC 1.14.0
π₯οΈ Steps to Reproduce
https://codesandbox.io/p/sandbox/nifty-goldstine-s5dydz?file=%2Fsrc%2FApp.js%3A18%2C59
Version
RAC 1.14.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
osx
π§’ Your Company/Team
No response
π· Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
No labels