Community forum for knowledge and support

Updated 2 months ago

Weird Bug Affecting Mobile Accordion Module

At a glance

A community member is experiencing a bug with an accordion module on the mobile breakpoint of their website. They have already checked the animation settings but the issue persists. Other community members suggest trying to delete and recreate the element, or following a video tutorial to fix the issue. However, the problem still remains, as the accordion is not expanding at all on mobile. After some troubleshooting, it is discovered that the community member had modified a utility class to be hidden on mobile, which caused the issue. Resetting the class and adding overflow: hidden to the content container resolved the problem, though the content is now stacked instead of contained within the div as before.

Useful resources

Hey everybody. I'm currently experiencing a weird bug which refers to collapsing/expanding an accordion module which is used as a FAQ section. This bug only seems to affect the mobile breakpoint as all other breakpoints are working fine (both in designer as on-device). I have already looked into the animation settings of the div set in place for expanding and collapsing it, but everything seems fine (apart from the fact that I haven't changed the animation or anything else).

I'm appreciating every single help in solving this issue.

Here's my read-only link: https://preview.webflow.com/preview/bierbank-flizer-staging?preview=3c3c1dbf404465c4ad20f87e417db700&workflow=preview

Cheers

E
V
M
11 comments

I've had issues like this before and it gets cleared/fixed sometimes by deleting all of the items, and making a new fresh element (same classes and animations). If that one works, duplicate it and then re-import your content.

Hey Emmet, I appreciate you looking into my issue. I haven't tried this yet, but will definitely check out your hint!

Hey Thanks for taking the time to look into my issue. I followed your instructions, however, the problem unfortunately still persists. Other than in your tutorial, the problem does not lie in the module not closing anymore but expanding at all on mobile (desktop is fine) as seen in my screen capture above. Any idea how to fix this?

It also seems odd to me that the answer container div is not shown at all when selected although its “Display” setting is not set to hidden:

@Vincent
Okay apologies for the misunderstanding. It looks like somewhere along the lines you have modified the utility combo class margin-bottom margin-small to be hidden on mobile landscape and down.

Thanks, @Matt - this did the trick! However, the content is now stacked on each other and not contained within the div as before

@Vincent should have overflow hidden set.

or in this case, alt/option + click on the blue label to reset it.

The Webflow Newbie is screaming out of me. Lol. Thanks a lot for your help! 🙌

naw its all good, we've all been there - happy to help!

Add a reply
Sign up and join the conversation on Slack