davidnguyen11 / react-is-in-viewport

πŸš€πŸ“±The component allows to detect whether or not the component is in the viewport πŸš€πŸ“±
MIT License
15 stars 2 forks source link

Add Cross-browser fallback for getBoundingClientRect #20

Closed davidnguyen11 closed 4 years ago

davidnguyen11 commented 4 years ago

https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect