civiccc / civiccc/react-waypoint
When parent is hidden, it will fire onEnter callback anyway
Open
- Dominant language
- JavaScript
- Stars
- 4k
- Forks
- 206
- PR merge metrics
- No merged PRs in 30d
Description
If I place `` in a hidden parent container, it will fire `onEnter` callback immediately as soon as it mounted, even if it's not in viewport. Which seems is a bug?
Here is the reproduce demo: https://codesandbox.io/s/react-waypoint-bug-nr0j4
Contributor guide
Assessment
This issue has not been assessed yet.