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:
commit
2950cdcad5
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue