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 arrow focus bounces and loses focus when the page count increases #47547

Closed
durimfetahaj opened this issue Feb 22, 2024 · 2 comments
Closed
Labels
🤔 Need Reproduce We cannot reproduce your problem unconfirmed

Comments

@durimfetahaj
Copy link

durimfetahaj commented Feb 22, 2024

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Select the first page.
  2. Click the "Next Page" button three times.
  3. Select the last page.
  4. Click the "Previous Page" button three times.

What is expected?

The pagination should expand without losing focus when the page count increases.

What is actually happening?

Clicking multiple times might inadvertently return to the first page because the cursor remains over the first page when the pagination expands.

Environment Info
antd 5.14.1
React 18.2.0
System Windows 10
Browser chrome
@MadCcc
Copy link
Member

MadCcc commented Feb 28, 2024

Please make your codesandbox public

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label Mar 1, 2024
Copy link
Contributor

github-actions bot commented Mar 1, 2024

Hello @durimfetahaj. Please provide a online reproduction by forking codesandbox of antd@5.x or antd@4.x, or provide a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @durimfetahaj,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 antd@5.xantd@4.x 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。

什么是最小化重现,为什么这是必需的?

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Need Reproduce We cannot reproduce your problem unconfirmed
Projects
None yet
Development

No branches or pull requests

3 participants