Topic: Accordion arrows - down arrow for open tab on page load
I have an accordion with 3 tabs. When the page opens, the third tab is expanded - but the arrows for all tabs point down. Once you click on one of th tab headings, everything is displayed properly.
I'd expect the open tab to have the arrow pointing up, with the closed tabs' arrows pointing down.
Is there a simple way to change this?
Thank you for your snippet!
I've found a little bug in the code. You added
.collapsed class to the link, which should not have following class.
Check out my snippet to see the solution: my-snippet
Could you recreate this problem in a snippet? In our docs all the examples seem to work properly.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 4.4.0
- Device: all
- Browser: all
- OS: all
- Provided sample code: No
- Provided link: No