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

vxe-table同时开启虚拟滚动、固定列,导致表格固定列出现偏移 #1678

Open
20220607 opened this issue Mar 16, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@20220607
Copy link

可复现的链接:

https://vxetable.cn/v3/#/table/scroll/fullPartialLoad

问题描述与截图:

image
在使用组件vxe-table的3.5以上版本进行实际项目开发时,通过修改浏览器窗口大小改变表格的height属性时出现如图的bug(首次渲染并未出现,二次渲染时出现),因表格有同时开启了固定列和虚拟滚动,故怀疑是这个导致的。另,项目选择vxe-table的其他版本时并没有出现这个bug。采用的复现bug的链接的文档案例本身也有这样子的问题。

期望的结果:

表格固定列无出现偏移现象

操作系统:

window10

浏览器版本:

chrome 99.0.4844.51

vue 版本:

2.6.14

vxe-table 版本:

3.5以上版本

@20220607 20220607 added the bug Something isn't working label Mar 16, 2022
@jisheng100
Copy link

vxe-table 4.2.0 有同样问题

@jisheng100
Copy link

image

@OSpoon
Copy link

OSpoon commented Apr 2, 2022

难道这种常见的场景出现的问题就没人给解决么?我最近也是遇到了类似错位的情况

@humorHan
Copy link

https://vxetable.cn/v3/#/table/scroll/fullPartialLoad 这里能浮现吗?为啥我没复现呢

1 similar comment
@humorHan
Copy link

https://vxetable.cn/v3/#/table/scroll/fullPartialLoad 这里能浮现吗?为啥我没复现呢

@Mr-GF
Copy link

Mr-GF commented Jul 26, 2024

https://vxetable.cn/v3/#/table/scroll/fullPartialLoad 这里能浮现吗?为啥我没复现呢

image
可以复现的,要快速划。 实际应用场景中复杂表单渲染会很明显。

@xuliangzhan
Copy link
Collaborator

#2740

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

No branches or pull requests

6 participants