-
Notifications
You must be signed in to change notification settings - Fork 236
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
scroll not smooth while scroll small space and release your hand quickly #37
Comments
Yes this issue exists. Please fix. The animation isn't smooth when we try to scroll but it stop scrolling the very next instant. It leads to a jerk effect. Maybe you need to fix your snapping code. Adding 0.1-0.2 seconds of more animation time. |
thanks!Let me try |
Hi guys, i found solution for this problem. Just Replace this code in targetContentOffset method let proposedContentOffsetCenterOrigin = (isHorizontal ? proposedContentOffset.x + 1000 * velocity.x : proposedContentOffset.y + 1000 * velocity.y) + midSide thanks. |
Unfortunately this is not working for me. Does anyone have any other solution? |
Or try to change it to int targetContentOffset method let proposedContentOffsetCenterOrigin = (isHorizontal ? proposedContentOffset.x + (proposedContentOffset.x * velocity.x) : proposedContentOffset.y + (proposedContentOffset.y * velocity.y)) + midSide |
You can try this code. override func viewDidLayoutSubviews() { |
I resolved the problem
|
works on iOS13, |
Can anyone help as I am unable to fix this issue? and I have used pod for the same. |
i also added extra condition for jerkEffect
also, don't forget to update |
scroll not smooth while scroll small space and release your hand quickly
The text was updated successfully, but these errors were encountered: