Skip to content

Commit cdc9fa2

Browse files
authored
Merge 3b0b7d2 into 2d5270a
2 parents 2d5270a + 3b0b7d2 commit cdc9fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export function getVisibleArea(
137137
const visibleArea = { ...initArea };
138138

139139
(scrollerList || []).forEach((ele) => {
140-
if (ele instanceof HTMLBodyElement) {
140+
if (ele instanceof HTMLBodyElement || ele instanceof HTMLHtmlElement) {
141141
return;
142142
}
143143

0 commit comments

Comments
 (0)