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

fix(Pagination): incorrect pagination jump #2975

Merged
merged 3 commits into from
Feb 22, 2024

Conversation

SuperPigBlog
Copy link
Contributor

@SuperPigBlog SuperPigBlog commented Feb 21, 2024

文档例子分页无限循环

复现url https://www.blazor.zone/table/loading

发现 分页组件有点 问题,具体为 :
假设 每页5条数据,当 到第5页时会出现 ... ,点击这个 ... 会跳转到 最后一页,同理 下一页的 ...也会出现; 这时应该 为 上一页 为 1,同理 下一页为 最后一页即 InternalPageCount,

Description

close #2976

发现 分页组件有点 问题,具体为 :
假设 每页5条数据,当 到第5页时会出现 ...  ,点击这个 ... 会跳转到 最后一页,同理 下一页的 ...也会出现;
这时应该 为  上一页 为  1,同理 下一页为 最后一页即  InternalPageCount,

Signed-off-by: SuperPigBlog <mickey_zhu@hotmail.com>
Copy link

bb-auto bot commented Feb 21, 2024

Thanks for your PR, @SuperPigBlog. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@bb-auto bb-auto bot requested a review from ArgoZhang February 21, 2024 12:48
@CLAassistant
Copy link

CLAassistant commented Feb 21, 2024

CLA assistant check
All committers have signed the CLA.

@densen2014 densen2014 changed the title Update Pagination.razor.cs 文档例子分页无限循环 #2976 Feb 21, 2024
@bb-auto bb-auto bot added the bug Something isn't working label Feb 21, 2024
@bb-auto bb-auto bot added this to the v8.2.0 milestone Feb 21, 2024
@densen2014 densen2014 changed the title 文档例子分页无限循环 #2976 文档例子分页无限循环 Feb 21, 2024
@densen2014 densen2014 changed the title 文档例子分页无限循环 bug(table): 文档例子分页无限循环 Feb 21, 2024
@SuperPigBlog SuperPigBlog changed the title bug(table): 文档例子分页无限循环 bug(table): 分页组件跳转问题 Feb 21, 2024
@ArgoZhang ArgoZhang changed the title bug(table): 分页组件跳转问题 fix(Pagination): incorrect pagination jump Feb 22, 2024
@ArgoZhang ArgoZhang merged commit 2b58b22 into dotnetcore:main Feb 22, 2024
2 of 3 checks passed
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 this pull request may close these issues.

bug(Pagination): incorrect pagination jump
3 participants