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
Copy file name to clipboardExpand all lines: src/utils/commonUtils.ts
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,9 @@ export function resolveOnChange<
38
38
// }}
39
39
// />
40
40
41
+
// A bug report filed on WebKit's Bugzilla tracker, dating back to 2009, specifically addresses the issue of cloneNode() not copying files of <input type="file"> elements.
42
+
// As of the last update, this bug was still marked as "NEW," indicating that it might not have been resolved yet.
43
+
// https://bugs.webkit.org/show_bug.cgi?id=28123
41
44
constcurrentTarget=target.cloneNode(true)asE;
42
45
43
46
// click clear icon
@@ -53,6 +56,9 @@ export function resolveOnChange<
53
56
54
57
// Trigger by composition event, this means we need force change the input value
55
58
if(target.type!='file'&&targetValue!==undefined){
59
+
// A bug report filed on WebKit's Bugzilla tracker, dating back to 2009, specifically addresses the issue of cloneNode() not copying files of <input type="file"> elements.
60
+
// As of the last update, this bug was still marked as "NEW," indicating that it might not have been resolved yet.
0 commit comments