mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
cde19a9fd3
commit
7630cbb291
1 changed files with 4 additions and 2 deletions
|
|
@ -74,7 +74,9 @@ export class Menu {
|
|||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue