Topic: Navbar Dropdown not working
bronnie99 pro asked 7 years ago
Scooter Brown free answered 6 years ago
Damian Gemza staff commented 6 years ago
Dear Scooter, could you describe me, what exactly doesn't work for you? Some code, screenshots, environment information would be helpful. Best Regards, DamianDawid Adach pro answered 7 years ago
Alex GuaMi pro commented 7 years ago
STILL DOESNT WORK!Dawid Adach pro commented 7 years ago
Alex, what exactly doesn't work? Please keep in mind that this tutorial is for jQuery so even you try use Angular Navbar code, following lessons won't work either as they are they also use jQuery code which is not compatible with Angular version.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
ppulfer pro commented 7 years ago
I have the same issue on MDB 4.4.3 for Bootstrap. Navbar Dropdown and launching modals does not work anymore. Browser Console tells me the following (might be useful for troubleshooting): " Uncaught ReferenceError: Popper is not defined at bootstrap.min.js:6"ppulfer pro commented 7 years ago
I've found the source of the issue. Apparently you need load the file "popper.min.js" for these to work. I'm afraid it's not mentioned in the navbar page (https://mdbootstrap.com/components/navbar/) nor anywhere if you upgrade your project from an older version. Hope this helps!bronnie99 pro commented 7 years ago
I’ve added the “popper.min.js” entry into my scripts section within .angular-cli.json: “scripts”: [ “../node_modules/popper.js/dist/popper.min.js”, “../node_modules/chart.js/dist/Chart.js”, “../node_modules/easy-pie-chart/dist/easypiechart.js”, “../node_modules/screenfull/dist/screenfull.js”, “../node_modules/hammerjs/hammer.min.js” But still not getting any drop down items. Any other thoughts?