Skip to content

Commit c442c74

Browse files
committed
effective height fix
1 parent 03d825d commit c442c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/buffer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default function ScrollBuffer(elementRoutines, bufferSize) {
8080
return 0;
8181
}
8282
let top = Number.MAX_VALUE;
83-
let bottom = Number.MIN_VALUE;
83+
let bottom = Number.NEGATIVE_INFINITY;
8484
elements.forEach((wrapper) => {
8585
if (wrapper.element[0].offsetParent) {
8686
// element style is not display:none

0 commit comments

Comments
 (0)