-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tabs] Disable content prop #1709
Comments
You can already use the <UTabs v-model="selected" :items="items" :ui="{ wrapper: '' }" /> |
Thanks for your reply; i wasn't clearly enough, but i was suggesting a way to completely revmove the markup of the content, not only visually hiding it. Maybe it's just i am a little bit too concerned about semantic and so on, but i do think it would be better to completely remove the content markup with something like this;
where contentVisibile is a prop you can pass to the component (true by defult). Does it make sense to you? |
May i suggest a pr as an example? |
Sure! I was just wondering about the prop naming, we can discuss that in the PR review 😊 |
Description
I'm wondering if it could be possible to disable the content in the tabs component.
I'm using it with the
@click
to do other stuff on the page and i don't need the content. I could rebuild it with the headlessui component, but it could be a simple yet usefull feature.Additional context
No response
The text was updated successfully, but these errors were encountered: