mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-19 17:38:06 +02:00
Add allowScrolling for action popup and do not popup context menu when more than one touch is used
This commit is contained in:
parent
73e6cf2570
commit
017901a317
@ -291,8 +291,10 @@ export function egwPopupActionImplementation()
|
|||||||
let tap = new tapAndSwipe(_node, {
|
let tap = new tapAndSwipe(_node, {
|
||||||
// this threshold must be the same as the one set in et2_dataview_view_aoi
|
// this threshold must be the same as the one set in et2_dataview_view_aoi
|
||||||
tapHoldThreshold: 600,
|
tapHoldThreshold: 600,
|
||||||
tapAndHold: function(event)
|
allowScrolling: "both",
|
||||||
|
tapAndHold: function(event, fingercount)
|
||||||
{
|
{
|
||||||
|
if (fingercount >= 2) return;
|
||||||
// don't trigger contextmenu if sorting is happening
|
// don't trigger contextmenu if sorting is happening
|
||||||
if (document.querySelector('.sortable-drag')) return;
|
if (document.querySelector('.sortable-drag')) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user