-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Feature Request] Add more gesture options #81
Comments
Hello @isenbj
|
Hey, it has been over a year since I wrote this, So I need to remember right :D 1: Correct. On say an iPad, it would be nice to drag an item and scroll with the other finger to where I want it. Say for a very large grid. so: |
Sry for that, I was going through the issues and tried to solve some 😅 @isenbj |
For example, I have a grid of photos. They can be reordered, but I also want to select them to delete, change category, etc. as it is now, I need to tap a select button, which will remove the reorderable grid and replace it with a selectable one. |
I see I will think about a solution for that @isenbj |
I would like to have more gestures for each grid item.
For my project, I want to be able to tab a grid entity, scroll in the grid with my finger, hold for a set amount of time (say 200 ms) and start a reorder, but hold longer (say 500 ms) and run a function (say switch the grid from reorderable, to selectable)
Right now, if I enableLongPress, then I cannot have a gesture detector in my grid with a LongPress to switch the grid to a selectable grid. I can set enableLongPress to false, but I can no longer scroll with 1 finger and have to use 2.
summary of desired behavior:
tap => run function (handled with a gesture detector in the grid children)
drag finger in grid => scrolls up or down with single finger
short press (200 ms) => start dragging
long press (500 ms) => run function (can be in gesture detector, but blocked by the LongPressDraggable)
The text was updated successfully, but these errors were encountered: