From 4bcb40e395d1e32151e9ae76b307381436256cd9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 3 Jul 2021 09:24:03 +0200 Subject: Fix shift + drag'n'drop menu not working Elastic skin with Chrome browser (#8107) --- skins/elastic/ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'skins') diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index 0c6b45d6e..50908e4c5 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -2533,7 +2533,9 @@ function rcube_elastic_ui() } menus[p.name] = {target: target}; - $(target).popover('show'); + + // setTimeout fixes Shift + drag'n'drop menu in Chrome (#8107) + setTimeout(function() { $(target).popover('show'); }, 1); } fn(); -- cgit v1.2.3