We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa8206 commit 0f61fbcCopy full SHA for 0f61fbc
1 file changed
packages/react-aria-components/src/Tabs.tsx
@@ -394,9 +394,12 @@ export const TabPanels = /*#__PURE__*/ createHideableComponent(function TabPanel
394
prevSize.current = ref.current.getBoundingClientRect();
395
}
396
397
+ let DOMProps = filterDOMProps(props, {global: true});
398
+ delete DOMProps.id;
399
+
400
return (
401
<div
- {...props}
402
+ {...DOMProps}
403
ref={ref}
404
className={props.className || 'react-aria-TabPanels'}>
405
<Collection {...props} />
0 commit comments