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

Freeze drag-n-drop on touch devices #6

Open
TyVik opened this issue Jan 8, 2023 · 0 comments · May be fixed by #7
Open

Freeze drag-n-drop on touch devices #6

TyVik opened this issue Jan 8, 2023 · 0 comments · May be fixed by #7

Comments

@TyVik
Copy link

TyVik commented Jan 8, 2023

I faced with an issue on touch devices and with Leaflet 1.9. Polygon is freezing after first redraw. It looks like _currentLayer stops to receive drag events.

But I cannot reproduce this behavior on desktop browsers. I suppose it's affected only touch browsers. I'm not familiar with Leaflet and I have not enough time to dive deeper to research why behavior is different. So, I suggest linked PR as quick fix. Also, I've updated playground only for test purpose. When you accept PR I'm going to rollback all changes in this directory.

@TyVik TyVik linked a pull request Jan 8, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant