mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 22:00:33 +08:00
fix(mobile): prevent back on iOS
This commit is contained in:
parent
73828a195b
commit
eb97c1e9e2
1 changed files with 2 additions and 4 deletions
|
|
@ -23,10 +23,8 @@ export default class SidebarContainer extends FlexContainer {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
document.addEventListener("touchstart", (e) => this.#onDragStart(e), {
|
document.addEventListener("touchstart", (e) => this.#onDragStart(e));
|
||||||
passive: false
|
document.addEventListener("touchmove", (e) => this.#onDragMove(e), { passive: false });
|
||||||
});
|
|
||||||
document.addEventListener("touchmove", (e) => this.#onDragMove(e));
|
|
||||||
document.addEventListener("touchend", (e) => this.#onDragEnd(e));
|
document.addEventListener("touchend", (e) => this.#onDragEnd(e));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue