Skip to content

Excalidraw whiteboard not correctly displayed if opened more than one time. #3017

@Septoleaf

Description

@Septoleaf

Describe the bug
When opening an Excalidraw whiteboard a second time in the same browser tab, the embedded view is not properly displayed. There are emty borders that halve the available space, and the mouse cursor is shifted making the editor not usable.

To Reproduce
Steps to reproduce the behavior:

  1. Open CLoudreve page.
  2. Create or open Excalidraw whiteboard.
  3. Close Excalidraw whiteboard.
  4. Create or open Excalidraw whiteboard.
  5. The whiteboard is not properly displayed from the second time onwards.

Expected behavior
The view should be correctly displayed even when opening Excalidraw whiteboards more than one time.

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

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 temporarily goes away by refreshing the browser tab.

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