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

含固定列表格,由display:none切换为显示时,固定列高度闪动 #49

Closed
vjguo opened this issue Nov 30, 2023 · 3 comments
Closed

Comments

@vjguo
Copy link

vjguo commented Nov 30, 2023

DEMO通过控制台开启关闭display:none样式可复现。

@vjguo
Copy link
Author

vjguo commented Nov 30, 2023

固定列(自定义)感觉使用起来各方面都很不错,准备切到那个方案。

@xiaocheng555
Copy link
Owner

DEMO通过控制台开启关闭display:none样式可复现。

要设置fit为false,<el-table :fit="false">,fit为true的时候display从none切换为block会重新计算列,滚动位置也会重置到顶部

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants