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

Mobile: delay dragging widget vs page scroll #2781

Open
JulienLecoq opened this issue Sep 10, 2024 · 5 comments
Open

Mobile: delay dragging widget vs page scroll #2781

JulienLecoq opened this issue Sep 10, 2024 · 5 comments

Comments

@JulienLecoq
Copy link

Subject of the issue

Currently, the drag start immediately which can cause annoying drag start on mobile device when all you want is to move on the page.

Your environment

gridstack: "^10.3.1"
gridstack-angular: "^0.6.0-dev"

@JulienLecoq JulienLecoq changed the title Feature request: Add a way to delay the start of dragging the grid items. Feature request: add a way to delay the start of dragging the grid items. Sep 10, 2024
@adumesny
Copy link
Member

adumesny commented Sep 10, 2024 via email

@JulienLecoq
Copy link
Author

Yes, single touch point comes across and drag widget instead.

I have an explicit edit mode. I have a grid of photos similarly to Tinder and some others app like so:

grid_on_big_screen

On big screen, it's okay since we don't have to scroll, but if you're on a smaller screen, this can get annoying since you have to scroll to see the full grid:

grid_on_small_screen

@JulienLecoq
Copy link
Author

JulienLecoq commented Sep 10, 2024

I never used two fingers to scroll on a page.

I would say that this issue is not a big problem since this only occurs on this page. I don't have a grid with drag & drop anywhere else. Also, I could swap the position of the two first big pictures with the grid to temporarily solve this issue.

But I guess it's still a nice feature to have and some other people might need it in the future.

@adumesny
Copy link
Member

adumesny commented Sep 10, 2024 via email

@adumesny adumesny changed the title Feature request: add a way to delay the start of dragging the grid items. Mobile: delay dragging widget vs page scroll Sep 10, 2024
@JulienLecoq
Copy link
Author

Yes 👍🏻

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

No branches or pull requests

2 participants