react-waypoint icon indicating copy to clipboard operation
react-waypoint copied to clipboard

Offset from an edge relative to the other edge of the container

Open y1n0 opened this issue 5 years ago • 1 comments

Hello, everyone. How can we achieve something like <Waypoint bottomOffset="calc(100% - 50px)"} />

I wanna be able to combine that with topOffset={50} so that Waypoint will fire each time an element (passed to Waypoint as children) crosses that line from either direction

y1n0 avatar Nov 23 '20 11:11 y1n0

For this type of fine-control behavior I would probably look into using IntersectionObserver.

trotzig avatar Nov 24 '20 10:11 trotzig