Bootstrap drop-down not closing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Bootstrap drop-down not closing

I have problem with header menu of this site https://lucky-basbousa-ab4b58.netlify.app/ for large screen the menu would not collapse after it's open I am using bootstrap data-toggle attribute. This is the link to my github repository https://github.com/Emoumo-coder/e-commerce-fashion. Please note switch to master branch, because it's master in my local machine not main. And any suggestions or criticism is allowed.

30th May 2022, 2:59 AM
Umaru Sanda
Umaru Sanda - avatar
2 Answers
+ 1
Looks like you're missing something. Be sure to include popper.min.js before Bootstrap’s JavaScript or use bootstrap.bundle.min.js / bootstrap.bundle.js which contains Popper. https://getbootstrap.com/docs/5.2/components/dropdowns/#content
30th May 2022, 3:44 AM
Chris Coder
Chris Coder - avatar
0
Thank you so much
1st Jun 2022, 8:17 AM
Umaru Sanda
Umaru Sanda - avatar