Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: add useScroll offset param to dependencies array #2273

Merged

Conversation

kalimantos
Copy link
Contributor

Fixes #2272
add useScroll offset param to useEffect dependencies array to allow offset change

@kalimantos kalimantos force-pushed the fix/useScroll-offset-update branch from 0618061 to e1bce06 Compare August 7, 2023 15:01
@kalimantos kalimantos force-pushed the fix/useScroll-offset-update branch from e1bce06 to cb6ed04 Compare August 16, 2023 07:12
@kalimantos kalimantos force-pushed the fix/useScroll-offset-update branch from cb6ed04 to 5c065dc Compare August 24, 2023 13:41
@mattgperry
Copy link
Collaborator

Great, thanks!

@mattgperry mattgperry merged commit f94ff47 into motiondivision:main Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] useScroll doesn't update when offset is updated
2 participants