Hide tabs when content is empy #30392
SamP-dgt
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe..
Nested tabs are a great feature. However, using them with dynamic content is not as effective as it could. A simple option to the widget would fix this.
Describe the solution you'd like.
It would be nice if you considered adding a built-in option to HIDE those tabs whose content is empty. Clearly the first non-empty tab should be active and reveal its content on page load.
Describe alternatives you've considered.
For the time being, only custom code (JavaScript) proved to work, but a built-in solution would be easier, faster and capable of preventing layout shifts.
Additional context
No response
Agreement
All reactions