mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 11:00:52 +08:00
parent
d8415bcf42
commit
10a9ef1704
@ -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…
Reference in New Issue
Block a user