Open
Description
Bug report
Current behavior
The whole dom for non-active tab panel shouldn't exist when keepMounted is false (or is omitted).
But the dom still exists for non-active tab.

Expected behavior
The last two dom nodes from the previous screenshot shouldn't exist.
Reproducible example
Your doc site https://base-ui.com/react/components/tabs
Or its CodeSandbox https://codesandbox.io/s/gzrqk5?file=src/App.tsx
Base UI version
1.0.0-alpha.8
Which browser are you using?
Chrome 135.0.3179.98 (Official build) (arm64)
Which OS are you using?
macOS
Which assistive tech are you using (if applicable)?
N/A
Additional context
The related component: https://base-ui.com/react/components/tabs#panel
Metadata
Metadata
Assignees
Labels
Projects
Status
No status