Release 1.0.2: take a file picked again, refuse a dropped folder
Chromium fires no change event when the picker returns the file its input already holds. The page kept the old one then, though the file may have changed on disk, which makes the old one unreadable, or another file was dropped in between, which the input never saw. The input is now emptied as soon as its file is taken, so every pick fires. Its title names the file taken, the browser's own tooltip would say no file is chosen. A dropped folder came as a file of 0 B that can't be read and failed only once the receiver downloaded it. It is refused with a note now, the file picked before stays. Both are covered for Chromium, whose protocol is the only one that reaches the real picker and a drag from the file manager. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
1b2696b6b4
commit
3c47047ddd
4 files changed
+105
-5
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "hellcon",
|
||||
"private": true,
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
Reference in new issue
Block a user