mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Prevent scrolling hover .files-controls
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
517698cb62
commit
c8a7c9588b
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue