mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 09:30:48 +08:00
This commit is contained in:
parent
cde19a9fd3
commit
7630cbb291
@ -74,7 +74,9 @@ export class Menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private preventDefault(event: KeyboardEvent) {
|
private preventDefault(event: KeyboardEvent) {
|
||||||
if (!hasClosestByClassName(event.target as Element, "b3-menu")) {
|
if (!hasClosestByClassName(event.target as Element, "b3-menu") &&
|
||||||
|
// 移动端底部键盘菜单
|
||||||
|
!hasClosestByClassName(event.target as Element, "keyboard__bar")) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user