You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
Expected:
"Callback when visibility changes. Argument is a boolean, true for visible, false for not."
Actual:
Callback when scrolling and element in viewport. Argument is always true. Maybe rename it to onVisible or onScrollAndVisible (when bounce true).
Correction: It actually works when scrolling back up. So it checks if the viewport is below or above the element. But not if the element is in the viewport.
The text was updated successfully, but these errors were encountered:
Expected:
"Callback when visibility changes. Argument is a boolean, true for visible, false for not."
Actual:
Callback when scrolling and element in viewport. Argument is always true. Maybe rename it to
onVisible
oronScrollAndVisible
(when bounce true).Correction: It actually works when scrolling back up. So it checks if the viewport is below or above the element. But not if the element is in the viewport.
The text was updated successfully, but these errors were encountered: