Skip to content

Commit

Permalink
Fixed collapsable cards getting locked
Browse files Browse the repository at this point in the history
- would get locked if space, enter, or click during expand or collapse
- v-if to v-show based on: vuejs/core#5657
  • Loading branch information
LucasSteer committed Jul 30, 2023
1 parent dbca32f commit 5a17edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ExperienceCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</button>
</h2>
<AccordionWrapper :id="accordionId">
<div class="px-4" v-if="isExpanded">
<div class="px-4" v-show="isExpanded">
<div
class="mx-4 mt-4 flex flex-col gap-2 tablet:flex-row tablet:items-center tablet:justify-between"
>
Expand Down

0 comments on commit 5a17edd

Please sign in to comment.