Topic: Accordion jumps when expanding or contracting header
ncldigital asked 7 years ago
Hi guys,Hoping you can provide some assistance, when clicking on the panel header to either expand or contract the carousel, the browser jumps to the very top of the page.Have you seen this before?Can provide HTML snippet or demo URL on request.Thanks
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 7 years ago
Dear ncldigital please provide me URL to your project. It would help me to understand your problem. Best Regards, Damianncldigital commented 7 years ago
Hi Damian, Here you go, scroll down until you see the accordion in the section with the blue background. http://ncl.dev.danielbyrne.net/subject/engineering Clicking on the header should reproduce this behavior. I've tried removing padding and margins from the cards as I've seen suggested in the forum but hasn't helped. Thanks & BestDamian Gemza staff commented 7 years ago
Dear ncldigital, Please try to remove href attributes from your anchor elements. Jumping to the top of the page is caused because of this href attribute. Let me know if this solves your problem. Best Regards, Damian