Don't prevent animation

This commit is contained in:
Matthias 2023-05-31 20:33:43 +02:00
parent 1d0709d1b4
commit fa7ea5e797

View File

@ -18,14 +18,16 @@
</b-button> </b-button>
</div> </div>
</template> </template>
<b-card-body :class="{ hidden: !visible }"> <b-card-body class="p-0">
<b-collapse v-model="visible"> <b-collapse v-model="visible">
<div class="p-3">
<PairlistConfigParameter <PairlistConfigParameter
v-for="(parameter, key) in pairlist.params" v-for="(parameter, key) in pairlist.params"
:key="key" :key="key"
v-model="pairlist.params[key].value" v-model="pairlist.params[key].value"
:param="parameter" :param="parameter"
/> />
</div>
</b-collapse> </b-collapse>
</b-card-body> </b-card-body>
</b-card> </b-card>
@ -47,14 +49,4 @@ const visible = ref(false);
const pairlist = defineModel<Pairlist>({ required: true }); const pairlist = defineModel<Pairlist>({ required: true });
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped></style>
.hidden {
padding: 0;
}
:deep(.collapsing) {
-webkit-transition: none;
transition: none;
display: none;
}
</style>