Skip to content

Commit

Permalink
feat: always render disclosure panels
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelFranken committed Aug 20, 2024
1 parent 528a932 commit b311401
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/ui/src/components/disclosure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ defineProps<{
</DisclosureButton>
</div>

<DisclosurePanel>
<slot />
</DisclosurePanel>
<div v-show="open">
<DisclosurePanel static>
<slot />
</DisclosurePanel>
</div>
</Disclosure>
</template>

<style scoped>
</style>

0 comments on commit b311401

Please sign in to comment.