Merge pull request #41968 from nextcloud/fix/ui/right-click-close-menu-stable26

[stable26] fix(ui): Do not close all menus on right click
This commit is contained in:
Greta 2023-12-05 16:13:43 +01:00 committed by GitHub
commit 7c87ea2f99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -117,6 +117,10 @@ export const initCore = () => {
// don't close when clicking on the menu directly or a menu toggle
return false
}
if (event.which === 3) {
// don't close when right-clicking
return false
}
OC.hideMenus()
})

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long