diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts index 4940390da..b351b50a1 100644 --- a/app/src/mobile/util/touch.ts +++ b/app/src/mobile/util/touch.ts @@ -173,6 +173,12 @@ export const handleTouchMove = (event: TouchEvent) => { ) { return; } + + // 正在编辑时禁止滑动 + if(!document.querySelector("#keyboardToolbar").classList.contains("fn__none")) { + return; + } + // 只读状态下未选中内容时时禁止滑动 if (getSelection().rangeCount > 0) { // 选中后扩选的情况 const range = getSelection().getRangeAt(0);