mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
This commit is contained in:
parent
10a9ef1704
commit
edec733179
1 changed files with 1 additions and 3 deletions
|
|
@ -1,7 +1,5 @@
|
|||
const isNormalItem = (currentHintElement: HTMLElement, className: string) => {
|
||||
return currentHintElement.classList.contains("fn__none") || !currentHintElement.classList.contains(className) ||
|
||||
// https://github.com/siyuan-note/siyuan/issues/12518
|
||||
currentHintElement.getBoundingClientRect().height === 0;
|
||||
return !currentHintElement.classList.contains(className) || 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