mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Added HTML5 Drag & Drop for Gecko/Firefox Mobile
Chrome does support dragstart and was fixed previously. This is not active yet as i'm testing for touch issues.
This commit is contained in:
parent
9b94265844
commit
d735893cd6
3 changed files with 270 additions and 1 deletions
1
dev/External/SquireUI.js
vendored
1
dev/External/SquireUI.js
vendored
|
|
@ -414,6 +414,7 @@ class SquireUI
|
|||
input.action_cmd = cfg.cmd;
|
||||
input.addEventListener('touchstart', () => touchTap = input);
|
||||
input.addEventListener('touchmove', () => touchTap = null);
|
||||
input.addEventListener('touchcancel', () => touchTap = null);
|
||||
input.addEventListener('touchend', e => {
|
||||
if (touchTap === input) {
|
||||
e.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue