flutter_responsive_table icon indicating copy to clipboard operation
flutter_responsive_table copied to clipboard

Bug: back button not working as expected on tables with 11 rows

Open SomyahAA opened this issue 2 years ago • 0 comments

When using the back button in the footer to go back to the first page of the table with 11 rows (considering rows per page is 10), the button is disabled and I’m unable to return to the first page. This occurs when there are 11 rows, but the button works correctly if there are 12 or more rows so I think it’s a counting problem.

Steps to reproduce:

  1. Load a table with exactly 11 rows.
  2. Use the forward button to go to the next page.
  3. Attempt to use the back button to return to the first page.

Expected behavior:
The back button should be enabled and navigate to first page.

Actual behavior:
The back button do not work correctly and i am unable to return to the first page with 11 rows, but can go back if there is 12 or more rows.

SomyahAA avatar Jun 13 '23 06:06 SomyahAA