InViewport

Deprecated component

InViewport component has been deprecated and is not supported or recommended for use.

InViewport

InViewport component got removed in version 4.

If you need to use InViewport for any situation, we recommend checking out a react hook that allows using the IntersectionObserver declaratively in your React app to find out if an element is in a given viewport.

Help improve this page