Skip to content

Commit 3c065da

Browse files
committed
Fix - VueUiAccordion - Disable pointer events on content when closed
1 parent 4d2118d commit 3c065da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/vue-ui-accordion.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,14 @@ div.vue-ui-accordion-content {
120120
max-height: 0;
121121
overflow: hidden;
122122
transition: max-height 400ms ease-out, opacity 400ms ease-out;
123+
pointer-events: none;
123124
}
124125
125126
details[open]+div.vue-ui-accordion-content {
126127
max-height: v-bind(maxHeight);
127128
transition: max-height 1s ease-out, opacity 1s ease-out;
128129
opacity: 1;
130+
pointer-events: auto;
129131
}
130132
131133
details[open] span::before {

0 commit comments

Comments
 (0)