Skip to content
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

Drag Cancels if Initial Drag is Too Fast #271

Open
sean-brown-dev opened this issue Jun 5, 2023 · 3 comments
Open

Drag Cancels if Initial Drag is Too Fast #271

sean-brown-dev opened this issue Jun 5, 2023 · 3 comments

Comments

@sean-brown-dev
Copy link

sean-brown-dev commented Jun 5, 2023

Using the LazyColumn press and hold to drag implementation if you move your finger to drag too quickly to begin the drag it will be cancelled and not move. Once you've got the item to move even slightly after the initial press you can drag it around very rapidly without issue. It's almost like it "sticks" after being pressed without having moved yet and you have to make the initial drag at a slow enough pace or the drag gesture loses track of your finger and doesn't start.

I think this might be an internal issue in androidx.comose.foundation.gestures, because I even tried using a simple self-made implementation and had the same issue. Has anyone else noticed this?

screen-20230605-140317.mp4
@sean-brown-dev
Copy link
Author

sean-brown-dev commented Jun 20, 2023

I am curious to see whether this fixes it:

#257

EDIT: Tested it out, this issue still exists.

@zhuhj8
Copy link

zhuhj8 commented Jul 25, 2024

I encountered the same problem

@sean-brown-dev
Copy link
Author

I encountered the same problem

I switched to this library. It works without any issues and is being maintained.

https://github.com/Calvin-LL/Reorderable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants