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

Manually trigger iOS touch drag start #124

Open
acrobid opened this issue Sep 21, 2024 · 0 comments
Open

Manually trigger iOS touch drag start #124

acrobid opened this issue Sep 21, 2024 · 0 comments

Comments

@acrobid
Copy link

acrobid commented Sep 21, 2024

How can I manually send a drag start event when using touch events? What specific event is pdnd listening for?

I would like to customize the drag start on iOS, as I feel that the default touch and hold behavior is unintuitive and clunky when using a drag handle. I understand that pdnd is listening for native events to know when to trigger a drag start. The delay "feels" like a contextmenu event but I have had no luck rifling through the source.

In my specific case, I want to send a drag start event during the touchstart event on my drag handle element, but cannot figure out what event to send.

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