Merge pull request #43330 from nextcloud/fix/safari-drag-drop

This commit is contained in:
John Molakvoæ 2024-02-04 22:46:54 +01:00 committed by GitHub
commit 3355bdb643
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -126,7 +126,7 @@ export default defineComponent({
// only when we're leaving the current element
// Avoid flickering
const currentTarget = event.currentTarget as HTMLElement
if (currentTarget?.contains(event.relatedTarget as HTMLElement)) {
if (currentTarget?.contains((event.relatedTarget ?? event.target) as HTMLElement)) {
return
}

4
dist/files-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