Merge pull request #14044 from Budibase/table-scroll-fix

Fix weird behaviour when adding rows if you have multiple pages of data
This commit is contained in:
Andrew Kingston 2024-06-28 13:16:41 +01:00 committed by GitHub
commit 2950cdcad5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@
// If we don't have a next page then we're at the bottom and can scroll to // If we don't have a next page then we're at the bottom and can scroll to
// the max available offset // the max available offset
else { if (!$hasNextPage) {
scroll.update(state => ({ scroll.update(state => ({
...state, ...state,
top: $maxScrollTop, top: $maxScrollTop,