[Bug Fix] Fix Firefox Page Drag Bug (#1837)

Fix a bug where the file drop prompt would show during page drag on Firefox.

Co-authored-by: kazandaki <ahmetfiratusta@gmail.com>
This commit is contained in:
FiratUsta 2024-09-08 00:34:36 +03:00 committed by GitHub
parent 82219dd899
commit 78211d09c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,8 @@ class DragDropManager {
}
adapt(div) {
const onDragStart = () => {
const onDragStart = (e) => {
e.preventDefault();
this.startDraggingPage(div);
};