You can still want to use:
overflow: hidden;
but, in addition, you will have to specify that the scrolling context is the document, inside the scroll property. For ex:
animation-timeline: scroll(y root);