-
Notifications
You must be signed in to change notification settings - Fork 257
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
Bug when scroll position at the end #199
Comments
Ah, thanks for opening the issue - the screen casts are super helpful! I suspect this will be a tricky one to solve, though :(. It seems like the browser's default behavior of sticking to the bottom of the scroll position will be tough to work around. As a hacky bandaid fix, you could maybe offset the user's scroll position by 1px before the animation starts, using |
It's not a solution. If the scroll position is near the end, the bug still exists with offset = elementHeight – (endPos – scrollPos) . So when scrollPos == endPos, the offset is maximal, like on screencast. And when (endPos – scrollPos) ≥ elementHeight, the problem disappears. |
hello , |
Yeah, it's tricky. I haven't had the chance to dig into this yet. I wonder if setting |
i had tried to add prop |
Huh, that's even stranger. This seems like an issue that should be prioritized, but I'm currently juggling too many side-projects. So I'm afraid I can't guarantee it'll get fixed anytime soon =(. |
Hi.
I have a problem with animation of remove when a container scrolling position is at the end (or near the end). In this case the animated element shifts down by its height.
I can illustrate it by screencasts.
Normal case: scrolling position is higher than end
Wrong case: scrolling position is at the end
The text was updated successfully, but these errors were encountered: