opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Images dropped in project edit dialog end up in prompt input as well

Open albingroen opened this issue 2 weeks ago • 0 comments

Description

If you drop an image in the project edit dialog, it'll end up in the prompt input as well. You can also drop images outside of the project edit dialog, and they'll end up in the prompt input. I don't think this is intended behavior.

OpenCode version

Version 1.0.223 (1.0.223)

Steps to reproduce

  1. Open the project edit dialog
  2. Drag and drop an image into the project avatar section
  3. You should now see how it got added in the prompt input as well
  4. You can also try dragging and dropping an image outside of the project edit dialog, and it'll end up in the prompt input.

Screenshot and/or share link

https://github.com/user-attachments/assets/2d9eef62-59d3-4d95-b1cc-5c61c852c5a8

Operating System

macOS 26.1

Terminal

No response

albingroen avatar Jan 02 '26 21:01 albingroen