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?


https://preview.webflow.com/preview/mmbp?utm_medium=preview_link&utm_source=designer&utm_content=mmbp&preview=e12134fa722dd14390329fe54d6344e1&pageId=64d4c1a72295c58d3b0228e0&itemId=64df6a3aebb04335b116a050&workflow=preview

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.