mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🐛 no editor
This commit is contained in:
parent
a3dad54fdd
commit
49936f4ae4
1 changed files with 6 additions and 3 deletions
|
|
@ -42,8 +42,9 @@ export const handleTouchEnd = (event: TouchEvent) => {
|
|||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
window.siyuan.mobile.editor.protyle.contentElement.style.overflow = "";
|
||||
if (window.siyuan.mobile.editor) {
|
||||
window.siyuan.mobile.editor.protyle.contentElement.style.overflow = "";
|
||||
}
|
||||
|
||||
// 有些事件不经过 touchstart 和 touchmove,因此需设置为 null 不再继续执行
|
||||
clientX = null;
|
||||
|
|
@ -243,7 +244,9 @@ export const handleTouchMove = (event: TouchEvent) => {
|
|||
}
|
||||
activeBlur();
|
||||
hideKeyboardToolbar();
|
||||
window.siyuan.mobile.editor.protyle.contentElement.style.overflow = "hidden";
|
||||
if (window.siyuan.mobile.editor) {
|
||||
window.siyuan.mobile.editor.protyle.contentElement.style.overflow = "hidden";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue