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

特殊操作下,表头表体不跟手 #3941

Closed
zhengdaonian opened this issue Oct 26, 2022 · 2 comments · Fixed by #4051
Closed

特殊操作下,表头表体不跟手 #3941

zhengdaonian opened this issue Oct 26, 2022 · 2 comments · Fixed by #4051
Labels
bug Something isn't working

Comments

@zhengdaonian
Copy link
Contributor

TuSimple/naive-ui version (版本)

2.33.5

Vue version (Vue 版本)

3.2.41

Browser and its version (浏览器及其版本)

chrome(106.0.5249.119)

System and its version (系统及其版本)

win 11

Node version (Node 版本)

Reappearance link (重现链接)

https://www.naiveui.com/zh-CN/os-theme/components/data-table

Reappearance steps (重现步骤)

一、https://www.naiveui.com/zh-CN/os-theme/components/data-table固定头部和列模块
二、鼠标点击表头后。鼠标别动,按键盘左右。此时表格拖动正确
三、鼠标移入至表格出现滚动条,按键盘左右,此时表头会更新位置,表体不会

Expected results (期望的结果)

修复表头跟表体跟手情况

Actual results (实际的结果)

特殊操作下,表头表体不跟手

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Oct 26, 2022
@zhengdaonian
Copy link
Contributor Author

正常情况
image

操作后
image

@zhengdaonian
Copy link
Contributor Author

简单得解决应该就是element那种,表头聚焦左右按键不能移动。表体聚焦才能左右按键移动

@XieZongChen XieZongChen added bug Something isn't working and removed untriaged need to sort labels Oct 26, 2022
jizai1125 added a commit to jizai1125/naive-ui that referenced this issue Nov 17, 2022
jizai1125 added a commit to jizai1125/naive-ui that referenced this issue Nov 29, 2022
07akioni added a commit that referenced this issue Jun 19, 2023
…keyboard, closes #3941 (#4051)

Co-authored-by: 07akioni <07akioni2@gmail.com>
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.

2 participants