Home Forums WoodMart support forum lock screen from any movement after users click tabs Reply To: lock screen from any movement after users click tabs

#171247

Hello,

Please use the below JS code and paste it to Theme Options >> Custom JS >> Global Custom JS section, I am sure your issue will be solved.:

<script>
jQuery( function($) {
$('.vc_tta-panel-title a').on('click', function( e ){
setTimeout( function() { $('html, body').stop().stop();
console.log('scrolling stopped');
}, 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, .wpb-js-composer .vc_tta.vc_tta-accordion .vc_tta-controls-icon-position-left.vc_tta-panel-title>a').off('click touchstart touchend');
});
});
</script>

Best Regards.