mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01: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, {
|
||||
// this threshold must be the same as the one set in et2_dataview_view_aoi
|
||||
tapHoldThreshold: 600,
|
||||
tapAndHold: function(event)
|
||||
allowScrolling: "both",
|
||||
tapAndHold: function(event, fingercount)
|
||||
{
|
||||
if (fingercount >= 2) return;
|
||||
// don't trigger contextmenu if sorting is happening
|
||||
if (document.querySelector('.sortable-drag')) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user