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

[Component] [tabs] 不能正确的使用方向键聚焦 Tab #11199

Closed
Lionad-Morotar opened this issue Jan 9, 2023 · 6 comments
Closed

[Component] [tabs] 不能正确的使用方向键聚焦 Tab #11199

Lionad-Morotar opened this issue Jan 9, 2023 · 6 comments

Comments

@Lionad-Morotar
Copy link
Contributor

Lionad-Morotar commented Jan 9, 2023

Bug Type: Component

Environment

  • Vue Version: 3.2.45
  • Element Plus Version: 2.2.28
  • Browser / OS: Microsoft Edge 104.0.1293.63
  • Build Tool: CDN

Reproduction

Related Component

  • el-tabs

Reproduction Link

Element Plus Playground

Steps to reproduce

  1. 打开页面,手动选中第一个 el-tab 的 “User”
  2. 在键盘按下以下方向键,右,右,左
  3. 发现 “User” 被聚焦了,正确的聚焦结果应该是 “1”

What is Expected?

正确的聚焦结果应该是 “1”

What is actually happening?

聚焦结果显示为了 “User”

Additional comments

使用火狐浏览器不能复现,但是使用 Microsoft Edge 104.0.1293.63 无痕模式能重现。

注:Bug 和 此截图中的加粗文字没有关系。Bug 以上文复现步骤为准。

2023-01-09-19-02-11

@MARIOMARUI
Copy link
Contributor

没啥问题呀

@MARIOMARUI
Copy link
Contributor

为什么你会有光标

@chenxch
Copy link
Member

chenxch commented Jan 15, 2023

tab
未复现哦,如果可以的话可以提供更详细的信息以及录屏

@Lionad-Morotar
Copy link
Contributor Author

Lionad-Morotar commented Jan 17, 2023

Reference i

这是我的录屏:https://gitlab-public-asserts.obs.cn-east-3.myhuaweicloud.com/2023-01-17-10-17-01.mp4

当使用方向键“上”和“下”切换焦点的时候,焦点次序一定会跳过一个 tab;使用左右切换的时候,先一直往一个方向切换没有问题,但是一但中途改变方向,就会跳过一个 tab。此外:控制台没有报错。

我使用的是 Edge 浏览器,这个 bug 可能和浏览器相关 cry。如果有思路请 @ 我,我在浏览器试试。

@github-actions
Copy link

Since the issue was labeled with needs-more-info, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants