Unwanted automatic scrolling with phx-viewport-top/bottom

Hello all,

Currently having some trouble with phx-viewport. whilst scrolling down the webpage to update the navbar to highlight which section the user is viewing, phx-viewport-x works how i want it but after it triggers, it automatically starts scrolling very slowly either to the start or end of the child div.

Is there any way to stop this auto-scroll?

Any help is appreciated, cheers :slight_smile: