I was checking one of my website when I discovered that my dropdown menus do not work anymore (don't want to collapse).
It was working perfectly some months ago. I am building this website using bootstrap and vue (I suspect something went wrong with upgrading maybe).
Here is part of my code
<p><button v-on:click="contacts = !contacts" type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-scroll-to="'#con'">Infos contact </button></p>
<div class="contacts text-left" v-if="contacts" id="con">
<p><i class="fa fa-map-marker"></i> 14, rue xxx, 92270 Bois Colombes</p>
<p><i class="fa fa-linkedin"></i><a href="http://www.linkedin.com/in/xxx"> www.linkedin.com/in/xxx</a></p>
<p><i class="fa fa-envelope"></i><a href="xxx.xxx@yahoo.fr"> xx.xx@yahoo.fr</a></p>
<p><i class="fa fa-phone"></i> 06 xx xx xx xx</p>
</div>
Thank you for your help
Well finally i found out the reason why it doesn't work : It was in fact upgrading issue . I add this <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css" rel="stylesheet" > <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" ></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
instead of my bootswatch call since there are some uncompatibilities with Vue.js and i used this <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
to call Vue.js instead of <script src="https://unpkg.com/vue"></script> <script src="https://unpkg.com/vue-scrollto"></script>
that seems to be overdated for Vue call . Hope it will help some other members .