Commit e6d9707
fix: Fix drag and drop file upload functionality
Resolve issue where dragging and dropping files into the dropzone
did not trigger the file input change event properly.
Changed from sp-dropzone custom events to native HTML5 drag and drop
events (dragover, dragenter, drop) since sp-dropzone component is
no longer used. Use DataTransfer to create a new FileList and assign
it to enable proper file selection via drag and drop.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 1f408ee commit e6d9707
1 file changed
Lines changed: 25 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
8 | 22 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
13 | 31 | | |
14 | | - | |
| 32 | + | |
15 | 33 | | |
0 commit comments