Skip to content

Pagination: quick next button is wrongly positioned #1102

Open

Description

@chiragA17

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions