Overflow in sticky element not working in published site

Hello! I am trying to set overflow to scroll on a right sticky column. It works on the preview designer, but not on published site. Any ideas of why this might be happening?


Ok, it turns out it was because I am using lenis and forgot to add the ‘data-lenis-prevent’ attribute to my overflow div. All good!

1 Like

Great to hear! Just a note here: If you have a div with overflow hidden. Position sticky will stop working for all elements inside that div. Strange quirk with HTML.