Skip to content

Commit 2155804

Browse files
Update src/Dom/focus.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent ee2acde commit 2155804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dom/focus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function getLastElement() {
108108
return focusElements[focusElements.length - 1];
109109
}
110110

111-
function isIgnoredElement(element: HTMLElement | null): boolean {
111+
function isIgnoredElement(element: Element | null): boolean {
112112
if (!element) return false;
113113
const ignoredEle = ignoredElementMap.get(getLastElement());
114114
return (

0 commit comments

Comments
 (0)