mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
2b30dc3a28
- 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.