-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
fix(useScroll): handle negative scroll values #4613
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
Conversation
Co-authored-by: eavlee <eavlee@users.noreply.github.com>
e3e6617
to
fc37272
Compare
Agree, maybe we can add it in this PR.
Humm, I think a CSS solution would be simpler. At least we can more easily explain to users "how to use it." |
Following, this issue is impacting users in my product. Thank you for working on a fix! |
Hi, sorry, I don't know how this process works in open source, but how long can it take? I made an issue two weeks ago, and as I saw here, the fix has already been implemented but not merged. |
Unsure if I'm doing something wrong but it seems that the value Repro |
fix #4611, fix #4538
Before submitting the PR, please make sure you do the following
fixes #123
).Description
This PR fixed the issue where
useScroll
was not correctly reflecting thearrivedState
.Now when using
useInfiniteScroll
, you need to set it up like this:direction:
bottom
:No need to set any flex properties.
direction:
top
:direction:
left
:direction:
right
:Additional context
We need to be careful not to damage other functions. #2577