Commit 88ae6c6
committed
Fix d3#1373 - suppress touchstart on drag.
This is not ideal because it disables clicking on draggable links, but as we are
forced to suppress the touchstart event (before any movement) in order to
disable touch-to-drag or pinch-to-zoom, I think this is the only option. Or, we
might dispatch a synthetic click event if the touchstart is prevented.1 parent 5fd964b commit 88ae6c6
3 files changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | | - | |
| 1041 | + | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
| 1044 | + | |
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| |||
0 commit comments