I am trying to apply the CSS property overscroll-behavior to my sites, in order to avoid the “bounce” effect when scrolling over the start and end of pages.
Usually adding overscroll-behavior: none; to the body tag should work (e.g. in Webflow I can add this attribute to the body tag and it works), but it seems to have no effect with Bricks. Or maybe I am doing it wrong.
I tried it on the header element like this:
%root% { overscroll-behavior: none; }
as well as adding it to Bricks custom CSS globally like this:
body { overscroll-behavior: none; }
or even
* { overscroll-behavior: none; }
But nothing seems to have any effect.
Thanks for your help!
Or so I thought… I spoke to ACSS devs and they assured me ACSS is not interfering with overscroll in any capacity. I also did some more testing and found out that I can add ANY other property to the body through global custom CSS just fine, but overscroll-behaviour is simply not executed on the front end CSS.
Could this be a bug? I don’t understand.
I see this when adding to the custom CSS in Bricks Settings:
But this will work fine through Custom Code within the builder:
Omg… Thanks. So obvious but I couldn’t see it. Didn’t ever realise mixing up BE with AE spelling would break code (I’m not a native speaker). But of course, it all needs to be in american spelling