Debug mode breaks leaflet on mobile #41

Closed
opened 2016-11-04 20:06:53 +01:00 by nik · 2 comments
nik commented 2016-11-04 20:06:53 +01:00 (Migrated from edugit.org)

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.

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.
eike commented 2016-12-10 16:36:29 +01:00 (Migrated from edugit.org)

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.

*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.
nik commented 2016-12-10 16:37:51 +01:00 (Migrated from edugit.org)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nik/veripeditus-server#41
No description provided.