-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
分页器点击“下一页”箭头以后按下回车会跳两页 #7360
Labels
Comments
没有发现你说的这个问题呢 |
能试出来,和ant-design的效果是一致的 |
哦,点下一页和按回车两个操作,这两个为啥会关联到一起,好奇怪 |
当点击下一页后按下enter键,预期是出现页数加一,但实际按下enter键除了会触发键盘事件还会默认触发元素的点击事件,所以会出现页数加二的情况,反之点击上一页然后按下enter键也是如此,页数会减二而不是预期的减一 |
ant3也是这样 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
4.1.0
Environment
win11
Reproduction link
https://next.antdv.com/components/pagination-cn/#Pagination-
Steps to reproduce
官网示例
What is expected?
分页器点击“下一页”箭头以后按下回车会跳两页,上一页也同样情况。
请问这是故意的还是一个bug
What is actually happening?
分页器点击“下一页”箭头以后按下回车会跳两页,上一页也同样情况。
请问这是故意的还是一个bug
The text was updated successfully, but these errors were encountered: