Removed float values from isInViewport compuation
This ensures it will always return the right value when an element is less than 1px offscreen.
Showing
Please register or sign in to comment
This ensures it will always return the right value when an element is less than 1px offscreen.