Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable29] fix(files): Reset drop notice on firefox #47497

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Aug 26, 2024

Backport of #47465

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot added bug design Design, UI, UX, etc. 3. to review Waiting for reviews feature: files labels Aug 26, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.6 milestone Aug 26, 2024
@susnux
Copy link
Contributor

susnux commented Aug 26, 2024

/compile

@susnux susnux marked this pull request as ready for review August 26, 2024 23:51
On firefox there is an old bug where when you move a dragged file outside
the window the `dragleave` event is never emitted.
So we just use a timeout to reset the drag over state.

Also a small change: Use the ID of the main container instead of relying on tag name and class.
(The ID is guranteed as other APIs rely on it, while the class is just used internally).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
Copy link
Contributor

susnux commented Aug 27, 2024

/compile

@susnux susnux enabled auto-merge August 27, 2024 09:58
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux susnux merged commit 57b81d8 into stable29 Aug 27, 2024
110 checks passed
@susnux susnux deleted the backport/47465/stable29 branch August 27, 2024 12:42
@blizzz blizzz mentioned this pull request Aug 29, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug design Design, UI, UX, etc. feature: files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants