[Vuejs]-V-if preventing bootstrap dropdown from expanding

0👍

As I understand correctly, you need to call $('.element').dropdown() manually, right after v-if takes effect and shows element.

Personally, I’d extract this element into component and call $('.element').dropdown() in mounted() lifecycle event, but there are other ways to do it of course 🙂

Leave a comment