Commit cb4718b
committed
Fix dragstop and resizestop not fired
In chrome touch mode, `dragstop` and `resizestop` were not fired immediately after releasing an element. This is because the global documentElement touchend event was never fired when you started the touch on an element.
By adding a touchend event to the element, we make sure that the up method is called. This effectively emmits the `dragstop` and `resizestop` events immediately.1 parent c0168ac commit cb4718b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments