You should have provided working code that catches scroll events in Vaadin. I would also benefit from that, as I’m not able to find out how to catch them.
component.getElement().addEventListener(…) does not work.
– edit –
looks like I was exhausted from finding the solution for scroll event when I wrote previous comment. There is no exact Vaadin method, like addScrollListener. You have to find you exactly, which component are you scrolling. Then you register listener on that component as Joacim wrote component.getElement().addEventListener("scroll", event -> { ... });