Webflow sync, pageviews & more.
NEW

What could be causing the issue with my accordion tab not disappearing and reappearing on click in Webflow?

TL;DR
  • Check Click Interaction Settings to ensure the trigger properly toggles visibility and reverses on second click.
  • Verify Display and Overflow Settings so the content starts as Display: None and is not blocked by overflow restrictions.
  • Look for Conflicting Styles that may force visibility or height issues using DevTools.
  • Ensure the Correct Elements Are Targeted in the animation to avoid unintended behavior.
  • Test with a Fresh Interaction, simplifying it to only opacity and display toggles if needed.

If your accordion tab is not opening and closing correctly in Webflow, it is likely due to an issue with interaction settings, display properties, or conflicting styles. Here’s how to troubleshoot and fix it.

1. Check Click Interaction Settings

  • Go to Interactions Panel and find the animation tied to your accordion.
  • Ensure you're using a Click (Tap) Trigger and that the action properly toggles the content’s visibility.
  • Make sure the closing animation is correctly set to reverse when the button is clicked again.

2. Verify Display and Overflow Settings

  • The accordion content should be set to Display: None by default to ensure it hides when inactive.
  • Check if there is any overflow: hidden applied on parent elements, which may prevent content from appearing.

3. Make Sure There Are No Conflicting Styles

  • If custom CSS or Webflow settings are forcing visibility or height, the interaction may not behave as expected.
  • Look at DevTools (Right-click → Inspect) to check for any unexpected display: block or overflow settings.

4. Ensure the Correct Elements Are Targeted

  • When creating animations, confirm the targeted element being shown and hidden is the desired content wrapper.
  • Webflow interactions sometimes default to "Affect Class" instead of affecting "Only Children" or "Selected Element," which can lead to unexpected behavior.

5. Test With a Fresh Interaction

  • Create a new accordion interaction using Webflow's default preset to see if the issue persists.
  • Simplify the animation: Try only toggling opacity and display to isolate any problems.

Summary

If your Webflow accordion tab is not toggling, check the Click Interaction, display settings, and targeted elements. Also, inspect for conflicts with styles and test with a fresh interaction. Making sure the initial state is hidden and animations correctly toggle visibility should resolve the issue.

Rate this answer

Other Webflow Questions