Open
Description
Feature request
Overview
For the tabs I would like an option to keep the inactive tab contents around in the DOM. For components with a heavy mounting cost, or components with internal state, the current solution is suboptimal. Instead of unmounting, tabs could be set to aria-hidden
.
Examples in other libraries
Reach works like this: https://reach.tech/tabs/
Who does this impact? Who is this for?
Anyone using the tabs for components with internal state.
Additional context
n/a
Edit (April 5th 2022): People tend to ask for one or the other, so the gist is for us to see if we can provide an option to cater for both.