Bootstrap( v4.3.1) dropdowns/dropdown menu not working .
See original GitHub issueMy dropdown navbar stopped working on chrome and safari. I deleted it and pasted the snippet from getbootstrap and it still doesn’t work. There are no errors in the console. I’m using the official starter template
<html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<title>Hello, world!</title>
</head>
<body>
Hello, world!
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>`
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Bootstrap 4 Dropdown Menu not working? - Stack Overflow
There's a lot of things wrong with this approach. you're toggling the "show" class on ALL dropdowns anytime ANY drop down is clicked....
Read more >Dropdowns - Bootstrap
Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown ...
Read more >[Solved]-Bootstrap dropdown not working - Studytonight
[Solved]-Bootstrap dropdown not working. A drop-down is like a list box that shows only one item when inactive. When we click on it...
Read more >Bootstrap 4 Dropdowns - W3Schools
The .dropdown class indicates a dropdown menu. To open the dropdown menu, use a button or a link with a class of .dropdown-toggle ......
Read more >Bootstrap 4 dropdown menu is not working. - Laracasts
Hi. I have a fresh Laravel 5.5. I have change the webpack and asset configurations to use Bootstrap v4. Everything is working except...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You are right, it was a faulty extension on my side that caused this behaviour.
For the sake of someone else struggling with this issue, I didn’t include the required popperjs package properly. After I included that, it started working.
Worked after restarting for a few times. Thank you, Johann!