Skip to content

Commit

Permalink
fix(Collapsble): state not updated when open or defaultOpen is no…
Browse files Browse the repository at this point in the history
…t provided
  • Loading branch information
zernonia authored Oct 26, 2024
1 parent 96afbee commit bc453b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/radix-vue/src/Collapsible/CollapsibleRoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ useForwardExpose()
<Primitive
:as="as"
:as-child="props.asChild"
:data-state="props.open ? 'open' : 'closed'"
:data-disabled="props.disabled ? '' : undefined"
:data-state="open ? 'open' : 'closed'"
:data-disabled="disabled ? '' : undefined"
>
<slot :open="open" />
</Primitive>
Expand Down

0 comments on commit bc453b3

Please sign in to comment.