Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onScrollToBottom (=getNextPage) is not called when scrollbar is not displayed #14

Closed
vitolpoc opened this issue Dec 15, 2021 · 2 comments
Assignees
Labels
Type: bug Something isn't working

Comments

@vitolpoc
Copy link
Collaborator

vitolpoc commented Dec 15, 2021

When rendering, if the grid’s set pageSize allows showing a number of rows smaller than the viewport, then grids should automatically know to call and get the nextPage to fill the remaining if more data exists.
The current property named onScrollToBottom is not being called if there is no scrollbar but there is more data available.

https://codesandbox.io/s/sandpack-project-forked-csv91?file=/src/App.tsx

@roblotter roblotter self-assigned this Dec 16, 2021
@roblotter roblotter added Type: bug Something isn't working in progress work is currently in progress labels Dec 16, 2021
@roblotter
Copy link
Contributor

Fixed in 0.0.9

@roblotter roblotter removed the in progress work is currently in progress label Dec 21, 2021
@roblotter
Copy link
Contributor

See updated docs on live pagination https://infinite-table.com/docs/latest/learn/working-with-data/live-pagination

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants