Skip to content

Commit 7b7df96

Browse files
authored
Merge pull request #43336 from nextcloud/backport/43330/stable28
2 parents 9a0c568 + ff5d0f3 commit 7b7df96

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/files/src/components/DragAndDropNotice.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default defineComponent({
126126
// only when we're leaving the current element
127127
// Avoid flickering
128128
const currentTarget = event.currentTarget as HTMLElement
129-
if (currentTarget?.contains(event.relatedTarget as HTMLElement)) {
129+
if (currentTarget?.contains((event.relatedTarget ?? event.target) as HTMLElement)) {
130130
return
131131
}
132132

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)