On scroll interaction

Hi all, just wondering if anyone could shed a bit of light on the ‘on scroll’ interaction. I’m trying to implement infinite scrolling functionality using cursor pagination with supabase and just wondering if it works the way I think it should. Does the ‘on scroll’ interaction get triggered when an element enters the viewport? ie, say I’ve got an empty stack or something at the bottom of the repeating list.

Thanks, Tom