NO BUG: Cascade layer breaking scroll back down after X on sticky header

Browser: Edge
OS: macOS
URL: Link to a page that illustrates this issue kneastg 756e5fdb

After updating my site from 1.12.3 to 2.0.2 The header no longer dissapears on scroll down after X, as set in my header templates settings. If I disable the cascade layer it work properly. The issue appears to be coming from the js function not updating to include the brx- prefix on the sticky class.

Hi @cillianbc,

somehow, the basic auth is not working for me, so I can’t access the page :thinking:

However, I’ve tested on my install, using cascade layers enabled and header settings like this:

and it works? The header will correctly show/hide, based on the scroll in the page.

If you have different settings, can you make a screenshot of them?

Also, make sure that you clear any cache that you may have, as this could be the issue.

Thank you,
Matej


I have attached the settings from each, live site and staging. Live site is 1.12.3 and works fine, staging is 2.03 and the header always displays on scroll.

the basic auth should be working
User: kneatstg
Password:
756e5fdb

Hi @cillianbc,

here is it how it works on the staging now. Looks lik it’s working correct, so I guess you disabled cascade layers?
If that’s the case, can you enable them back, so that I see what is happening?
CleanShot 2025-09-08 at 09.07.50

I’ve tried to replicate it locally, with the same settings as you posted, but I can’t replicate it.

Thank you,
Matej

I enabled cascade layers now. Thanks

Hi @cillianbc,

it looks like those styles are causing the issue. How did you added them?

If you added them via custom CSS, you will have to wrap them inside the layer, and it should work.

CleanShot 2025-09-09 at 11.31.38@2x

Please let me know,
Matej

Which styles? The ones pictured?

Yes, that ones.

Matej