use-window-scroll
Subscribe to window scroll and scroll smoothly to given position
Import
Source
Docs
Package
Usage
Hook returns current scroll position and a function to scroll smoothly to given position:
Scroll position x: 0, y: 0
Definition
Feedback
Your feedback is most valuable contribution to the project, please share how you use Mantine, what features are missing and what is done good
Leave feedback