[Vuejs]-Vue-strap alert component takes up space even when hidden

0👍

I am not sure why but you can always add a wrapper around to hide it. <template> can be used as empty wrapper.

...
<template v-if="alerts[cycle.id] !== null">
        <alert ...>
            ...
        </alert>
</template>
...

Leave a comment