mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
fix(files): drag leave detection on safari
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
67e79485fa
commit
441651c22a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue