Product Tabs Auto-Close as soon as I click to open them

This topic has 6 replies, 3 voices, and was last updated 1 day, 20 hours ago ago by Jack Richardson

  • Avatar: Safe Desires
    Safe Desires
    Participant
    May 17, 2026 at 08:59

    when clicking on the accordion on mobile, it closes the tab and scrolls the screen down a little bit

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff
    May 17, 2026 at 15:47

    Hi,

    Thank you for reaching out to us.

    Could you please try adding the following PHP snippet to your child theme’s functions.php file or to a code snippets plugin (if you are using one):

    add_filter('etheme_autoscroll_single_tabs_on_mobile', '__return_false');

    This will prevent the page from scrolling when clicking on the tabs, so the behavior you are currently experiencing will no longer occur.

    Warm Regards,
    The 8Theme Team

    Avatar: Safe Desires
    Safe Desires
    Participant
    May 29, 2026 at 19:59

    It is no longer auto closing, but it’s still jumping/autoscrolling to the tabs element. So, on page load it jumps to the description (first tab) and then it will scroll so the other tab headers are on top if one clicks to open another tab.

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 1, 2026 at 06:22

    Hello @Safe Desires,

    As we can see in your video, you are testing a staging website, while we have tested the issue on your live website and were unable to reproduce it on our devices. Could you please provide the correct URL of your staging website and perform tests from several devices to ensure that the issue is not related to cached content?

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Safe Desires
    Safe Desires
    Participant
    June 1, 2026 at 18:47

    It happens with every single product page on mobile

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 2, 2026 at 06:22

    Hello @Safe Desires,

    Please clear your cache and check again. The issue occurred because an incorrect filter name was used. The correct filter name is “etheme_autoscroll_single_tabs_on_mobile” (https://gyazo.com/8456ab10e057b827233b08c174515205).

    Best regards,
    Jack Richardson
    The 8Theme’s Team

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.