Click For full code and working demo you can refer this article. The drop down list is not working for me. When I click on the dropdown on my iphone, nothing happens. Add data-toggle="collapse" data-target=".navbar-collapse" to your clickable icon hide.bs.dropdown: This event is fired immediately when the hide instance method has been called. Archived. in bootstrap 4.2.1 does NOT work in navbar dropdown menu if have link. The .dropdown-item-text class is used to add plain text to a dropdown item, or used on links for default link styling. For a complete reference of all dropdown options, methods and events, go to our Bootstrap 4 JS Dropdown Reference. Bootstrap drop down menu is not working. I have installed jquery and bootstrap to my spfx projects via npm. The Bootstrap 4 dropdown component contains the list of links and more that can be used as contextual menus, in navbars etc. When the page loads first time . So, if the dropdown menu does not work onclick but is working only on hover of the dropdown include popper.js, bootstrap.js and bootstrap.css. But when the dropdown selected index is changed the datepicker is not working AdminLTE utilizes Bootstrap dropdown to create its custom menus. The dropdown should work normally as seen bellow: Make sure you are adding your menu directly under nav navbar-nav. Added within a dropdown like the example you are showing simply wouldn't work. Here is the full code for main-header navbar including a custom dropdown menu:
Go to Top