-
Notifications
You must be signed in to change notification settings - Fork 765
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
Disable snap to ViewHolder #202
Comments
@nocturne9op2 I have the same problem. Did you manage to find a solution? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using ItemTouchHelper to drag the first item of a discrete scroll view all the way to the end. When the discrete scroll view is long enough that it goes beyond the width of the screen and I perform the previously mentioned action, ItemTouchHelper.Callback's interpolateOutOfBoundsScroll is triggered. In some occasions, this results to the discrete scroll view scrolling too fast and launching in the opposite direction, off the screen, breaking itself.
With a regular recycler view, this problem does not occur. I suspect that the issue may lie in the snapping of the view holders. Is there a way to disable it, so the scrolling behavior would be similar to that of a regular recycler view when an item is dragged, and reenable it when the drag is finished?
preview: https://streamable.com/edxxzq
The text was updated successfully, but these errors were encountered: