mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08:00
fix(mobile): prevent back on iOS
This commit is contained in:
parent
73828a195b
commit
eb97c1e9e2
@ -23,10 +23,8 @@ export default class SidebarContainer extends FlexContainer {
|
||||
});
|
||||
});
|
||||
|
||||
document.addEventListener("touchstart", (e) => this.#onDragStart(e), {
|
||||
passive: false
|
||||
});
|
||||
document.addEventListener("touchmove", (e) => this.#onDragMove(e));
|
||||
document.addEventListener("touchstart", (e) => this.#onDragStart(e));
|
||||
document.addEventListener("touchmove", (e) => this.#onDragMove(e), { passive: false });
|
||||
document.addEventListener("touchend", (e) => this.#onDragEnd(e));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user