carbon-app / carbon

:black_heart: Create and share beautiful images of your source code

Home Page:https://carbon.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

JohnAlexCO opened this issue · comments

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):

  • OS [e.g. macOS, Linux, Windows, iOS]: Linux Mint 20.3 x86_64
  • Browser [e.g. Chrome, Safari, Firefox]: Chromium Version 108.0.5359.124 (Official Build)
  • Carbon URL [e.g. carbon.now.sh?bg=pink]: https://carbon.now.sh/?bg=rgba%28171%2C+184%2C+195%2C+1%29&t=seti&wt=none&l=auto&width=680&ds=true&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=56px&ph=56px&ln=false&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=2x&wm=false&code=
Code snippet