Skip to content

Image Drag & Drop inside Excalidraw whiteboard results in image being uploaded to the folder underneath #3016

@Septoleaf

Description

@Septoleaf

Describe the bug
When an Excalidraw whiteboard is open and the user tries to drag & drop an image to the canvas, the image is pasted to the canvas but also uploaded to the folder underneath Excalidraw's embeded view.

To Reproduce
Steps to reproduce the behavior:

  1. Create or open Excalidraw whiteboard.
  2. Drag & drop image to Excalidraw canvas.
  3. The image is also uploaded to the folder underneath Excalidraw embeded view.

Expected behavior
The drag & dropped image should only be pasted inside Excalidraw canvas, it should not be uploaded as a file inside the folder underneath Excalidraw embeded view.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Chrome, Firefox
  • Version Cloudreve 4.9.2

Smartphone (please complete the following information):

Additional context
The issue could be fixed by disabling drag & drop upload box when an app or editor is open in foreground.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions