From 4bcb40e395d1e32151e9ae76b307381436256cd9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 3 Jul 2021 09:24:03 +0200 Subject: [PATCH] Fix shift + drag'n'drop menu not working Elastic skin with Chrome browser (#8107) --- CHANGELOG | 1 + skins/elastic/ui.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index a8478f31e..4c60d661d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ CHANGELOG Roundcube Webmail - Fix bug where plus characters in attachment filename could have been ignored (#8074) - Fix displaying HTML body with inline images encapsulated using TNEF format (winmail.dat) - Fix handling of custom sender addresses with names (#8106) +- Fix shift + drag'n'drop menu not working Elastic skin with Chrome browser (#8107) RELEASE 1.4.11 -------------- 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();