5 Commits

Author SHA1 Message Date
Ayush Goyal
67d65833d9 chore: disable eslint for affected files 2020-02-04 07:12:19 +05:30
dizel3d
4f6d3887be fix(useIntersection): return null if IntersectionObserver is not supported 2020-01-28 00:26:08 +03:00
dizel3d
3f8687e1f5 fix(useIntersection): reset an intersectionObserverEntry when the ref changes 2020-01-28 00:25:57 +03:00
dizel3d
ac2f54a8f6 fix(useIntersection): disconnect an old IntersectionObserver instance when the ref changes 2020-01-27 23:57:36 +03:00
Kevin Norris
d5f359f7e3 feat: useIntersection (#652)
React sensor hook that tracks the changes in the intersection of a target element with an ancestor element or with a top-level document's viewport, using the Intersection Observer API
2019-10-12 19:22:23 +11:00