Skip to content

How to get properly scroll amount on react #608

Closed Answered by skaneprime
skaneprime asked this question in Q&A
Discussion options

You must be logged in to vote

It's okay I found out that window.scrollY works as fine tho I'd really love to see more simplified example for React (it looks messy with useEventObserver and etc)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@KingSora
Comment options

@skaneprime
Comment options

Answer selected by skaneprime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants