You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4cf8269
Browse filesBrowse the repository at this point in the historyBrowse files
fix(attachments): take a nested picker's drop once and drop late reads
A drop on a FileInput inside the drop zone reached both the picker and
the zone, so the file was attached and then refused as already there,
or attached twice by a host that does not de-duplicate. The zone now
leaves a drop a child already handled to that child.
A folder walk could also outlive the zone: it still delivered after
the zone was disabled, and after unmount it added files whose preview
URLs nothing would revoke. A read that finishes once the zone is
disabled or unmounted is now dropped, and useAttachments makes no
preview URL once it has unmounted.
A nameless file was checked for duplicates under its empty name but
held as "Untitled", so two of them could slip in and a real Untitled
was refused. The check now uses the name the file is held under.
0 commit comments