Bug or intended? <Tabs.Content>
does not work with explicit display value (flex, block, inline-block...)
#915
Closed
jakobpesch
started this conversation in
General
Replies: 1 comment
-
I just checked, it probably is the default html behavior independent of bits-ui.
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Setting
class="flex"
or any other display value on the<Tabs.Content>
component, the tab content always shows, independent of the value.Here is a quick repro:
https://stackblitz.com/edit/github-bk6jdm?file=src%2Froutes%2F%2Bpage.svelte
Intended behaviour?
If this is indeed intended, maybe it is a good idea to document somewhere, that you should not do this.
Beta Was this translation helpful? Give feedback.
All reactions