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

Pagination Bug: Negative Page Input Displays a Trucated Data on the Transaction Page #16468

Closed
1 task done
courage-ugw opened this issue Mar 17, 2024 · 0 comments · Fixed by #16485
Closed
1 task done

Comments

@courage-ugw
Copy link

courage-ugw commented Mar 17, 2024

Describe the bug

When inputting a negative page number (-1) in the page input field on the transaction page, the pagination feature truncates the display to only the first two rows on page one, and does not handle the negative input appropriately.

Steps to reproduce

  1. Navigate to the transaction records page: https://bridge.katla.taiko.xyz/transactions.
  2. Input "-1" into the page input field.
  3. Press the "Go" or "Submit" button to navigate to the specified page.

Expected Behavior:
The pagination system should handle negative page inputs gracefully, either by displaying an error message indicating that negative page numbers are not allowed, or by maintaining the current page without any changes.

Actual Behavior:
After inputting "-1" and submitting, only the first two rows of page one are displayed, while the rest of the records are truncated, leading to incomplete data presentation.

Additional Information:
Browser/Environment: Chrome Version 122.0.6261.129
Operating System: Windows 11

Taiko-transaction log page-1
Taiko-transaction log page-2

Spam policy

  • I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants