Checks whether an element is at the bottom of its scroll range.
Uses >= rather than strict equality to account for elastic overscroll on iOS.
>=
Scrollable element to inspect.
true when the element is at the bottom of its scroll range.
true
atScrollBottom(scrollable); // true when scrolled to the bottom edge Copy
atScrollBottom(scrollable); // true when scrolled to the bottom edge
Checks whether an element is at the bottom of its scroll range.
Uses
>=rather than strict equality to account for elastic overscroll on iOS.