Elffuss BraidHub

kikocis/continue public

fix: close drag over message overlay during onDrop
Changesetcb662a90b3b881b47459a1965d239ca56a1094e63a44e8ae9f03e2d58a16ebfa
Authoruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-08-26 18:33 +05:30
Committeruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-08-26 18:33 +05:30
Parents7dd3a742e7cd

Browse the files at this changeset

1 file changed

modified gui/src/components/mainInput/TipTapEditor/TipTapEditor.tsx +1 −1
@@ -204,6 +204,7 @@
204204 setShowDragOverMsg(true);
205205 }}
206206 onDrop={(event) => {
207+ setShowDragOverMsg(false);
207208 if (
208209 !defaultModel ||
209210 !modelSupportsImages(
@@ -215,7 +216,6 @@
215216 ) {
216217 return;
217218 }
218- setShowDragOverMsg(false);
219219 let file = event.dataTransfer.files[0];
220220 void handleImageFile(ideMessenger, file).then((result) => {
221221 if (!editor) {