mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-26 07:24:50 -06:00
fix(chat): prevent stuck drop overlay when dragging outside window in firefox (#21664)
This commit is contained in:
@@ -797,7 +797,10 @@
|
||||
}
|
||||
};
|
||||
|
||||
const onDragLeave = () => {
|
||||
const onDragLeave = (e) => {
|
||||
if (e.currentTarget.contains(e.relatedTarget)) {
|
||||
return;
|
||||
}
|
||||
dragged = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user