mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01:00
[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:
parent
82219dd899
commit
78211d09c5
@ -96,7 +96,8 @@ class DragDropManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
adapt(div) {
|
adapt(div) {
|
||||||
const onDragStart = () => {
|
const onDragStart = (e) => {
|
||||||
|
e.preventDefault();
|
||||||
this.startDraggingPage(div);
|
this.startDraggingPage(div);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user