react-intersection-observer
react-intersection-observer copied to clipboard
React implementation of the Intersection Observer API to tell you when an element enters or leaves the viewport.
**Describe the bug** `@emotion/react` library allows to pass the `css` property into components if the `className` prop is a part of them. The `InView` has the `className` prop but `typescript`...
## Description Specifically when using Chrome on a Samsung Galaxy Tab 7 and setting `threshold` to `1`, the useInView hook returns a value of `inView` that never changes to `true`...
Install your library ina nextjs14 project and you'll get: Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the...
We have a test environment where we've used mockAllIsIntersecting from react-intersection-observer/test-utils together with Jest This has worked just fine until we updated to version 9.12.0 and beyond after that we've...
https://github.com/microsoft/TypeScript/blob/99878128f032786bd3ad1295402a04ca7002eeb2/src/lib/dom.generated.d.ts#L693-L697