The Sticky component already provides render properties isSticky and isDockedToBottom.
The StickyScrollUp should be extended to provide the render properties
isSticky: true when docked to the top and fully visible while scrolling up
isDockedToClientTop: true when not in the default position but static to the turning point of the scroll top position
The
Sticky
component already provides render propertiesisSticky
andisDockedToBottom
. TheStickyScrollUp
should be extended to provide the render propertiesisSticky: true
when docked to the top and fully visible while scrolling upisDockedToClientTop: true
when not in the default position but static to the turning point of the scroll top position