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 duplicate buttons when max <= 4 #723

Closed
boussadjra opened this issue Sep 22, 2023 · 3 comments · Fixed by #728
Closed

pagination duplicate buttons when max <= 4 #723

boussadjra opened this issue Sep 22, 2023 · 3 comments · Fixed by #728
Labels
bug Something isn't working

Comments

@boussadjra
Copy link

Version

@nuxt/ui: 2.8.1
nuxt: 3.7.3

Reproduction Link

https://ui.nuxt.com/navigation/pagination#max

Steps to reproduce

Set the max props to a value <= 4

What is Expected?

Show the buttons with content 1,2,...,20 if the max = 4
Show the buttons with content 1,...,20 if the max = 3

What is actually happening?

Show the buttons with content 1,1,...,20 if the max = 4
Show the buttons with content 1,...,...,20 if the max = 3 ou 2

Screenshots :

image

image

@Haythamasalama
Copy link
Contributor

fix here #728

@MuhammadM1998
Copy link
Contributor

Pages count is stuck at 5 when max is set to 5 or higher

Screenshot_20230922_235338_Brave.jpg

@Haythamasalama
Copy link
Contributor

Haythamasalama commented Sep 22, 2023

Pages count is stuck at 5 when max is set to 5 or higher

Nice catch! ❤️ Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants