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/index.js
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -787,6 +787,12 @@ export function useDropzone(props = {}) {
787
787
if(inputRef.current){
788
788
inputRef.current.value=null;
789
789
inputRef.current.click();
790
+
}else{
791
+
onErrCb(
792
+
newError(
793
+
"Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."
0 commit comments