Browse Source

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

pull/43338/head
John Molakvoæ 2 years ago
committed by GitHub
parent
commit
3355bdb643
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      apps/files/src/components/DragAndDropNotice.vue
  2. 4
      dist/files-main.js
  3. 2
      dist/files-main.js.map

2
apps/files/src/components/DragAndDropNotice.vue

@ -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
File diff suppressed because it is too large
View File

2
dist/files-main.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save