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: quick next button is wrongly positioned #1102

Open
chiragA17 opened this issue Jul 27, 2021 · 0 comments
Open

Pagination: quick next button is wrongly positioned #1102

chiragA17 opened this issue Jul 27, 2021 · 0 comments

Comments

@chiragA17
Copy link

Description

If you have more than 7 pages per documentation, it shows quick next and quick prev buttons in the pager. But their positioning is not correct.

Reproduce Steps

  1. Add pages more than 7. I have checked for 10 or higher.
  2. click on quicknext button and then move to (n-3) page by clicking on next page number one by one.

Check the screen recording below, it breaks at 18th second when the ... button shows between page 10 & 11.

Screen.Recording.2021-07-27.at.5.42.45.PM.mov

This is also reproducible in the example of the component on https://elemefe.github.io/element-react/#/en-US/pagination

Screen.Recording.2021-07-27.at.5.52.25.PM.mov

Solution

If possible to add boolean prop whether to show quicknext & quickprev buttons or an integer prop to set the minimum number of pages that should be present for the ... button to appear in the pager

Additional Information

I'm using the following versions
element-react: 1.4.34,
element-theme-default: 1.4.13
I have created the app in React with react version 16.13.1

I hope this information helps. Please let me know if I need to provide any more information on this

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