20 packages found
Cross-browser `getBoundingClientRect()` for all Node types
relative position of mouse/touch events to element
Get accurate and well named css box model information about an Element 📦
a react-announce declarative that exposes component size as a stream
- View more
get relative position from an event
Normalized cross-browser getBoundingClientRect
Find the position of a DOM element relative to another.
Get coordinates from a mouse or touch event.
Get notified when the bounding rect of a component changes
Replaced elements object-fit and object-position utilities
A polyfill to make Cross Browser Support much easier!
- Internet Explorer
- append ie
- closest ie
- View more
getBoundingClientRect() async and without browser re-layout
Provides notifications for changes in the position of an HTML element relative to the viewport.
Higher-order component (HOC) to get the distance to window border or scrollable element.
Get the bounding client rect of an element relative to a root document, going through iframes
A state container which provides an interface for retrieving the bounding client rect of a referenced element. The bounding client rect will update each time the window resizes - a behavior which can be turned off by setting the prop `recalcOnWindowResize