In certain situations like using ScrollSmoother from GreenSock you may be looking to disable smooth scrolling functionality that’s built into Bricks.
To disable Bricks’ smooth scrolling, go to Bricks → Settings → Custom code and add this in the Body (footer) scripts text area:
<script>
window.bricksSmoothScroll = () => false
</script>
Reference
https://brickslabs.com/how-to-wrap-main-element-in-custom-divs-in-bricks/#comment-263
1 comment
Brad
This doesnt work. Tried it with both the css smooth scroll on and off in the new settings options since 1.7.1. Any other ideas?