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

Window scrolls up when requesting uncached tabulatr page #51

Open
mlt opened this issue Dec 19, 2016 · 0 comments
Open

Window scrolls up when requesting uncached tabulatr page #51

mlt opened this issue Dec 19, 2016 · 0 comments

Comments

@mlt
Copy link
Contributor

mlt commented Dec 19, 2016

If one clicks on a paginator button for non-cached page, JS currently hides tr before fetching data thus causing a window to effectively scroll up if tabulatr was at the end of not-so-empty page. This is somewhat disturbing as it makes a user to scroll down for each new page loaded. Once pages are cached, it is no longer a problem.
I wonder if we can have some placeholder page full of   under a spinner while waiting for ajax stuff? Perhaps another workaround would be to hard code height with CSS. However this requires some calculations based on page size etc. I'm not even sure how to do it precisely. Shall we document it at least?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant