mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 14:28:49 +01:00
parent
d8415bcf42
commit
10a9ef1704
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
const isNormalItem = (currentHintElement: HTMLElement, className: string) => {
|
||||
return currentHintElement.classList.contains("fn__none") || !currentHintElement.classList.contains(className);
|
||||
return currentHintElement.classList.contains("fn__none") || !currentHintElement.classList.contains(className) ||
|
||||
// https://github.com/siyuan-note/siyuan/issues/12518
|
||||
currentHintElement.getBoundingClientRect().height === 0;
|
||||
};
|
||||
|
||||
export const upDownHint = (listElement: Element, event: KeyboardEvent, classActiveName = "b3-list-item--focus", defaultElement?: Element) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue