Skip to content

Commit

Permalink
Merge pull request #43336 from nextcloud/backport/43330/stable28
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Feb 5, 2024
2 parents 9a0c568 + ff5d0f3 commit 7b7df96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/files/src/components/DragAndDropNotice.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit 7b7df96

Please sign in to comment.