Visual Composer Tabs Animation

Having a very annoying issue on http://test.garagefloorcoating.com

When you click the tabs it scrolls down then up a little on each tab click. Searched far and wide and seen disabling smooth scroll is a fix and also this forum post https://theme.co/apex/forums/topic/visual-composer-tabs-scroll-down-page-a-little-when-clicked-on/

however applying what is suggested does not work. Please help!

Hi There,

Thank you for writing in, please do a testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes,
Cheers!

Please feel free to go and see the same issue. All plugins except Visual Composer are deactivated.

Hi again,

Please replace the previous code you’re using to fix the issue in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

jQuery( function($) {
	$('.vc_tta-tab a').on('click', function( e ){
		setTimeout( function() { 
			$('html, body').stop().stop();
		}, 100 );
	});
	$(document).ready(function() {
		$('.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta-tab a').off('click touchstart touchend');
	});

});

Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

Thank you Nabeel, That stopped the browser scroll!!!

Glad we could help.

Cheers!

Hello, I need to revive this topic and see if we can make the tab scroll stop. This code does not work any longer. Can you please help me stop the scrolling effect upon clicking the tabs? This effect really does not work at all and should be removed.

garagefloorcoating.com halfway down the main page. Thank you.

Hey @powersnw,

The fix is not simple for that so I’m going to post this in our issue tracker to be queued for investigation by our development team. They will be the one to decide if their going to provide an official fix or a code snippet.

For now, please revert your site from a backup.

Thanks.