8000 [Bug Report]Table组件使用fixed right导致表格行错位的bug · Issue #1177 · view-design/ViewUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Bug Report]Table组件使用fixed right导致表格行错位的bug #1177

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

Open
kgdfj opened this issue May 14, 2025 · 0 comments
Open

[Bug Report]Table组件使用fixed right导致表格行错位的bug #1177

kgdfj opened this issue May 14, 2025 · 0 comments

Comments

@kgdfj
Copy link
kgdfj commented May 14, 2025

Environment

macos 12.7.1/chrome 136.0.7103.93/vue2

Reproduction link

https://run.iviewui.com/nshY2YIu

Steps to reproduce

特定字符串在特定宽度下,fixed高度不一致导致表格行错位

What is expected?

表格同一行单元格高度一致

What is actually happening?

fixed的单元格高度不一致导致错位


表格宽度2001px,比fixed占位表格宽度(2000px)多出1像素,
第二列显示宽度200.09px,占位宽度是200px,
而特定长度的字符串恰好因为少了0.09px导致换行,占位比显示多了一行文字的高度,导致了表格错位。
这个问题在vue3版本的view-ui-plus同样存在

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

1 participant
0