diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2023-02-09 12:03:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 12:03:09 +0100 |
commit | b9994bb8207b391bb556c7654ee0f26eea4ede2b (patch) | |
tree | 64f35f9cb6639b72134aba73a6c0ed5f07f686f5 | |
parent | a8097b5ba3029750226481f4bcc7ebe256255f87 (diff) | |
parent | c8a7c9588b44a840f16b5cb803ef10349d653247 (diff) | |
download | nextcloud-server-b9994bb8207b391bb556c7654ee0f26eea4ede2b.tar.gz nextcloud-server-b9994bb8207b391bb556c7654ee0f26eea4ede2b.zip |
Merge pull request #36614 from nextcloud/backport/stable25/36583
[stable25] Prevent scrolling hover .files-controls
-rw-r--r-- | apps/files/js/files.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 0ae049360b4..b0c38248183 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -481,6 +481,11 @@ var dragOptions={ $('.crumbmenu').removeClass('canDropChildren'); }, drag: function(event, ui) { + // Prevent scrolling when hovering .files-controls + if ($(event.originalEvent.target).parents('.files-controls').length > 0) { + return + } + /** @type {JQuery<HTMLDivElement>} */ const scrollingArea = FileList.$container; |