We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a11b23 commit c017efbCopy full SHA for c017efb
1 file changed
App.tsx
@@ -309,7 +309,11 @@ const MainApp: React.FC = () => {
309
310
const handleDropFiles = useCallback(async (files: FileList, parentId: string | null) => {
311
if (!files || files.length === 0) return;
312
-
+
313
+ // Ensure the global drag overlay is cleared when files are dropped anywhere in the app.
314
+ dragCounter.current = 0;
315
+ setIsDraggingFile(false);
316
317
const fileEntries = Array.from(files).map(file => {
318
const f = file as FileWithRelativePath;
319
return {
0 commit comments