Topic: Sidenav arrow icons
I'm following the sample code here: https://mdbootstrap.com/docs/b5/angular/navigation/sidenav/
But I get no arrow icons on the collapsable menu items, as shown in the examples. Is this a bug or am I missing something?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 1.0.0-beta4
- Device: any
- Browser: any
- OS: any
- Provided sample code: No
- Provided link: Yes
Tags
Related topics
Tobias pro premium commented 4 years ago
Arkadiusz Idzikowski staff commented 4 years ago
@Tobias We use FontAwesome icons inside the
mdbCollapse
component. Did you install and configure FontAwesome in your project?Tobias pro premium commented 4 years ago
Yes, I'm using FontAwesome already in other places. Inspecting the generated html does not include any fa-* tags for the sidenav collapsibles, so they are not even being generated by your backend code.
Arkadiusz Idzikowski staff commented 4 years ago
It looks like there is in fact some bug on our end. We will take a closer look at that and let you know what we found.
Tobias pro premium commented 3 years ago
I just updated to beta6 to see if this was fixed, but it was not. Unfortunately sidenav seems even more broken now, as menus won't expand at all. I'm doing the new, proper, import and using the first example code in the docs.
Tobias pro premium commented 3 years ago
Got it to work by importing MdbCollapseModule in app.module.ts:
import { MdbCollapseModule } from 'mdb-angular-ui-kit/collapse';
Guess you need to update the documentation due to all these separate imports nowadays.
Arrow icons are still not being rendered though.
Arkadiusz Idzikowski staff commented 3 years ago
@Tobias We didn't add the fix for the arrows yet. Thank you for letting us know about these problems, we will update the documentation and fix the build.