From 723ed5248f42ebf3d17e129700dc79b4ff7dc415 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 12 Feb 2020 16:32:16 +0100 Subject: [PATCH] Fix double tippy in drive elements --- www/common/drive-ui.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 736e08f92..37a1ad7e6 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -2033,6 +2033,13 @@ define([ if (invalid) { return; } + + $element.find('.fa').on('mouseenter', function (e) { + if ($element[0] && $element[0]._tippy) { + $element[0]._tippy.destroy(); + } + e.stopPropagation(); + }); $element.addClass(liClass); var droppable = !isTrash && !APP.$content.data('readOnlyFolder'); addDragAndDropHandlers($element, newPath, isFolder, droppable);