Skip to content

Commit

Permalink
Fix getScrollParentBottom
Browse files Browse the repository at this point in the history
  • Loading branch information
mbraak committed Feb 10, 2025
1 parent 121aa41 commit 32f5d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scrollHandler/containerScrollParent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default class ContainerScrollParent implements ScrollParent {
private getScrollParentBottom() {
if (this.scrollParentBottom == null) {
const containerHeight =
this.container.getBoundingClientRect().bottom;
this.container.getBoundingClientRect().height;
this.scrollParentBottom =
this.getScrollParentTop() + containerHeight;
}
Expand Down

0 comments on commit 32f5d79

Please sign in to comment.