Skip to content

Commit 32f5d79

Browse files
committed
Fix getScrollParentBottom
1 parent 121aa41 commit 32f5d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scrollHandler/containerScrollParent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export default class ContainerScrollParent implements ScrollParent {
118118
private getScrollParentBottom() {
119119
if (this.scrollParentBottom == null) {
120120
const containerHeight =
121-
this.container.getBoundingClientRect().bottom;
121+
this.container.getBoundingClientRect().height;
122122
this.scrollParentBottom =
123123
this.getScrollParentTop() + containerHeight;
124124
}

0 commit comments

Comments
 (0)