carbon-app / carbon

:black_heart: Create and share beautiful images of your source code
https://carbon.now.sh
MIT License
34.5k stars 1.91k forks source link

carbon.now.sh: Click-and-Drag not functional #1439

Open JohnAlexCO opened 1 year ago

JohnAlexCO commented 1 year ago

Describe the bug "Drop your file here to import" opens new tab with file raw, carbon window does nothing.

To Reproduce Steps to reproduce the behavior:

  1. Open editor
  2. Drag file over editor, anywhere including the text-body of the little terminal itself.

Expected behavior Clicking and dragging into the area should result in the file being imported, not a new tab being opened with raw file and the carbon.now.sh window being unaffected.

Info (please complete the following information):

Code snippet