Files
goose/ui
Zane Staggs 2b30dc3a28 Fix drag and drop functionality for images and files
- Add onFilesProcessed callback prop to ChatInput component
- Call onFilesProcessed after files are processed in performSubmit
- Pass setDroppedFiles callback from BaseChat to clear dropped files
- This ensures droppedFiles array is cleared after processing, allowing subsequent drops to work

The issue was that the droppedFiles state never got cleared after being processed,
so the useEffect that processes them wouldn't trigger for subsequent drops.
Now the files are properly cleared after being added to the input, restoring
full drag and drop functionality.
2025-07-08 20:00:05 -07:00
..