Commit 851cfdb
committed
fix: TypeError on Firefox
in Firefox when moving a marker a TypeError was thrown with:
invalid 'instanceof' operand window.TouchEvent
this just needs to separate the move event from the component from the
internal 'move' event fired afterwards so it doesn't loop.
This is now done by checking if originalEvent exists and checking its type1 parent 614fee6 commit 851cfdb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
| |||
0 commit comments