Skip to content

fix(files): drag leave detection on safari - #43330

Merged
skjnldsv merged 2 commits into
masterfrom
fix/safari-drag-drop
Feb 4, 2024
Merged

fix(files): drag leave detection on safari#43330
skjnldsv merged 2 commits into
masterfrom
fix/safari-drag-drop

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

Fix#43135

BeforeAfter
oldnew

@skjnldsvskjnldsv added this to the Nextcloud 29 milestone Feb 4, 2024
@skjnldsv
skjnldsv requested a review from a teamFebruary 4, 2024 13:10
@skjnldsvskjnldsv self-assigned this Feb 4, 2024
@skjnldsv
skjnldsv requested review from emoral435, nfebe and szaimen and removed request for a teamFebruary 4, 2024 13:10
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/backport to stable28

@susnuxsusnux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can not verify this fixes the issue (I have no access to Apple devices), but the code makes sense as it seems to be related to this long standing WebKit bug where relatedTarget is unset: https://bugs.webkit.org/show_bug.cgi?id=66547

(Feels like Safari is the new IE).

Comment threadapps/files/src/components/DragAndDropNotice.vue Outdated
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

Feels like Safari is the new IE

You and me both 😅🥲

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/compile rebase-amend /

@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 4, 2024
@skjnldsv
skjnldsv enabled auto-merge February 4, 2024 20:29
skjnldsvand others added 2 commits February 4, 2024 20:52
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux

Copy link
Copy Markdown
Contributor

compile rebase-amend

Thats new? Nice!

@skjnldsv
skjnldsv merged commit 3355bdb into masterFeb 4, 2024
@skjnldsv
skjnldsv deleted the fix/safari-drag-drop branch February 4, 2024 21:46
@blizzzblizzz mentioned this pull request Mar 5, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: filesregression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: NC28.0.2rc4 drag-and-drop still broken on Safari

3 participants

@skjnldsv@susnux@nfebe