teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

DataTable pagination UX issue #257

Open BVVLD opened 2 months ago

BVVLD commented 2 months ago

Describe the bug Clicking on last page of dataset using bottom page buttons does not scroll the table up.

Expected behavior If there is less data in the last page, it would scroll up a bit so the last row of data is on the bottom of the screen.

How to reproduce Create a table result in the paragraph, set big amount of rows, click to the last page

Software version AJS_01 ver. 7.0.0

Additional context As of the report: "There's some weird behavior when going through a dataset in a notebook. It's not a big issue but if you click on the last page of data in a dataset, the page doesn't scroll up, it kind of feels like it's anchoring to the dataset below. I guess it could be made dynamic so that if there is less data in the last page, it would scroll up a bit so the last row of data is on the bottom of the screen. And it's only when you click on the dataset's page numbers below the dataset. The buttons on top of the dataset work nicely. The top buttons anchor to the top of the dataset, so that's always good, but on the last page there might be less data so the view is too low"