mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
08b316e758
commit
ebacab923f
1 changed files with 2 additions and 1 deletions
|
|
@ -244,7 +244,8 @@ export const handleTouchMove = (event: TouchEvent) => {
|
|||
} else if (scrollElement.classList.contains("code-block")) {
|
||||
scrollElement = scrollElement.firstElementChild.nextElementSibling as HTMLElement;
|
||||
} else if (scrollElement.classList.contains("av")) {
|
||||
scrollElement = hasClosestByClassName(target, "layout-tab-bar") || hasClosestByClassName(target, "av__scroll");
|
||||
scrollElement = hasClosestByClassName(target, "layout-tab-bar") || hasClosestByClassName(target, "av__scroll") ||
|
||||
hasClosestByClassName(target, "av__kanban");
|
||||
} else if (scrollElement.dataset.type === "NodeMathBlock") {
|
||||
scrollElement = target;
|
||||
while (scrollElement && scrollElement.dataset.type !== "NodeMathBlock") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue