nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.67k stars 4k forks source link

[Bug]: File drop zone does not disappear when not dropping anything #47268

Open marcelklehr opened 3 weeks ago

marcelklehr commented 3 weeks ago

⚠️ This issue respects the following points: ⚠️

Bug description

The File drop zone in the files app does not disappear when not dropping anything

Steps to reproduce

  1. Drag a file over the files app in the browser
  2. Upload zone appears
  3. Drag it somewhere else without dropping it on the files upload zone
  4. The upload zone will not disappear

Expected behavior

The upload zone disappears

Installation method

None

Nextcloud Server version

master

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

marcelklehr commented 3 weeks ago

This is even an issue as far back as nc 28

edward-ly commented 2 weeks ago

I found that the issue might be caused by apps/files/src/components/BreadCrumbs.vue not having listeners attached for the dragleave and dragend events.

Could someone in @nextcloud/files work on this and give an ETA on a fix?

susnux commented 2 weeks ago

@marcelklehr do you use Firefox? Because if using Firefox then this is a Browser bug and we implemented a work-around right now: https://github.com/nextcloud/server/pull/47465

Can you check this fixes the problem for you?

edward-ly commented 2 weeks ago

@marcelklehr do you use Firefox? Because if using Firefox then this is a Browser bug and we implemented a work-around right now: #47465

Can you check this fixes the problem for you?

@susnux I tried both Firefox and Chromium and the same bug still persists.

marcelklehr commented 1 week ago

I'm no longer able to reproduce this on daily. Can we make sure to backport this to stable28?

skjnldsv commented 1 week ago

Done in https://github.com/nextcloud/server/pull/47639