Closed madeline-petersen closed 1 year ago
You can probably use the beforeLeave
callback for that.
Or you can just get the height of the scrollable section and check by yourself if you reached the bottom: https://stackoverflow.com/a/876134/1081396
The scrollable element is the on with the selector fp-overflow
.
Got it, thank you!
Glad it helped!
Is there a way to determine when a user has hit the bottom of a scrollOverflow section? Normally I would compare the scroll position to the height of the scroll area, but I can't find a way to get the height of the scroll area.