excalidraw / excalidraw

Virtual whiteboard for sketching hand-drawn like diagrams
https://excalidraw.com
MIT License
82.7k stars 7.75k forks source link

importing from shareable link not working some of the time #5545

Open dwelle opened 2 years ago

dwelle commented 2 years ago

(via @TonyForTheNguyen via Discord)

Hi, I've had this happen on multiple occasions where other users open my excalidraw exported links and they SOMETIMES get a blank canvas and it redirects them to excalidraw.com without any path params. But they try multiple times and one time it will load.

For example https://excalidraw.com/#json=AO0CWeSUQb6WD5U4oaqMs,3MJOeSqi6WEpbwULEmLbJA will simply redirect users to https://excalidraw.com/

TonyForTheNguyen commented 2 years ago

Sometimes a blank canvas loads when a user clicks the excalidraw JSON link.

I've heard this happen with the latest version of Chrome, FireFox, and Brave Browser. I haven't be able to test if opening in Incognito solves this problem.

Steps to repro (sometimes):

  1. Click a JSON Excalidraw link such as https://excalidraw.com/#json=AO0CWeSUQb6WD5U4oaqMs,3MJOeSqi6WEpbwULEmLbJA
  2. Expectation: The canvas is painted with the JSON content
  3. Actual: The canvas remains empty (there's also no Scroll back to content button at the bottom so it's not like there's content elsewhere on the canvas).