Debug mode breaks leaflet on mobile #41
Labels
No labels
Doing
To Do
bug
clarification needed
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nik/veripeditus-server#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The debug mode captures touch events and then tries to handle them as
mouse event, resulting in Leaflet stopping with a message that
.originalEvent is undefined.
Created by: Creeparoo
We tried to reproduce the bug and debugged the code, but we couldn't find a way to let it happen again. We tested if event had a property originalEvent where the bug occured. It was there, on a computer aswell as mobile.
We can't be sure if the bug even occurs on that particular spot or if it occurs on every device.
I actually do not see the bug anymore either. I got it at some point on my mobile firefox, but it seemed to happen on a resize event of some kind. Certainly debug mode is not what triggers this bug.