Skip to content

Commit

Permalink
Fix [Functions] loading gets stuck after expanding row (#2487)
Browse files Browse the repository at this point in the history
  • Loading branch information
mavdryk committed May 28, 2024
1 parent ca85a68 commit 69b73a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useVirtualization.hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const useVirtualization = ({
})

const lastRowExceedsScrollHeight = rowsSizesLocal
.slice(firstVisibleItemIndex)
.slice(firstVisibleItemIndex + 1)
.some((nextElementHeight, index) => {
if (heightToLastVisibleItem >= scrollClientHeight) return true

Expand Down

0 comments on commit 69b73a3

Please sign in to comment.