mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-08 03:08:02 +00:00
fix(chat): prevent stuck drop overlay when dragging outside window in firefox (#21664)
This commit is contained in:
parent
2a804541e0
commit
f5e5632afc
1 changed files with 4 additions and 1 deletions
|
|
@ -797,7 +797,10 @@
|
|||
}
|
||||
};
|
||||
|
||||
const onDragLeave = () => {
|
||||
const onDragLeave = (e) => {
|
||||
if (e.currentTarget.contains(e.relatedTarget)) {
|
||||
return;
|
||||
}
|
||||
dragged = false;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue