when clicking on the accordion on mobile, it closes the tab and scrolls the screen down a little bit
This topic has 6 replies, 3 voices, and was last updated 1 day, 20 hours ago ago by Jack Richardson
when clicking on the accordion on mobile, it closes the tab and scrolls the screen down a little bit
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
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.
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
It happens with every single product page on mobile
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
You must be logged in to reply to this topic.Log in/Sign up