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

[Feature Request] Add more gesture options #81

Open
isenbj opened this issue Jun 23, 2023 · 0 comments
Open

[Feature Request] Add more gesture options #81

isenbj opened this issue Jun 23, 2023 · 0 comments

Comments

@isenbj
Copy link

isenbj commented Jun 23, 2023

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)

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

1 participant