Closed
Description
Describe the bug
It worked with a previous version of bootstrap-vue-next, but not with 0.28.5
.
i am having this code:
<script setup>
const visibleAccordions = reactive({ first: true, second: false, third: false });
</script>
<template>
<BAccordion>
<BAccordionItem v-model="visibleAccordions.first"></BAccordionItem>
<BAccordionItem v-model="visibleAccordions.second"></BAccordionItem>
<BAccordionItem v-model="visibleAccordions.third"></BAccordionItem>
</BAccordion>
</template>
where the 1st accordion item should be openend automatically. After the upgrade i now have to do this:
onMounted(() => {
setTimeout(() => {
visibleAccordions.first = true;
});
});
Reproduction
https://stackblitz.com/edit/bootstra-vue-next-template-hwqzfwxu?file=src%2Fcomponents%2FComp.vue
Used Package Manager
yarn