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

Lazy fetch entries in admin views not working when scrollbar not visible #135

Closed
holgerb opened this issue Aug 22, 2022 · 2 comments
Closed
Labels
bug Something isn't working frontend
Milestone

Comments

@holgerb
Copy link
Collaborator

holgerb commented Aug 22, 2022

Teams and Images within the administration area are limited to 20 entries. Looks like the query to the backend only fetches 20 entries. We already had that kind of problems within the skills overview.

Currently I am not able to edit the 21st team and every other new team a am adding which is super frustrating.

Probably there are more views with that kind of limitation. Limiting the number of rows makes sense (at least sometimes) but then pagination needs to be implemented!

@holgerb
Copy link
Collaborator Author

holgerb commented Aug 22, 2022

It seams that at least within the teams admin view, there is a pagination logic which will be triggered by the scroll bar. But if there your resolution is big enough to show 20 lines there is no scroll bar and no scroll action will trigger the lazy loading...

@holgerb holgerb changed the title Views in entity administration are limited to 20 entries Lazy fetch entries in admin views not working when scrollbar not visible Aug 22, 2022
@rseedorff rseedorff added the bug Something isn't working label Aug 29, 2022
@rseedorff rseedorff modified the milestones: v2.1.0, v2.0.1 Aug 31, 2022
@rseedorff
Copy link
Contributor

Hi @holgerb,
this seems to be an conceptual issue with the infinity scrollbar used by JHipster. As a first workaround have increased the number of elements per page, to circumvent this behavior. But for a general fix this should be addressed within JHipster itself.

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

No branches or pull requests

3 participants