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

table设置了scroll和fixed之后第一列显示不出来。 #2130

Closed
sptimer opened this issue Jun 22, 2016 · 3 comments
Closed

table设置了scroll和fixed之后第一列显示不出来。 #2130

sptimer opened this issue Jun 22, 2016 · 3 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@sptimer
Copy link

sptimer commented Jun 22, 2016

可以看一下官方例子,我的本地和官方一样。
image

@afc163 afc163 self-assigned this Jun 22, 2016
@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Jun 22, 2016
@afc163
Copy link
Member

afc163 commented Jun 22, 2016

感谢反馈。

  1. 在 Chrome 下,tdwhite-space: nowrap; 会影响单元格的宽度。
  2. 这里去掉了 white-space: nowrap;,也优化了固定列时内容不能换行的问题。
  3. 另外在 rc-table 里修复了固定表头垂直滚动时 scrollTop is undefined 的错误。

@sptimer
Copy link
Author

sptimer commented Jun 22, 2016

把scroll设置好之后问题就解决了,设置为true不管用,得计算,现在没问题了,多谢

yesmeck added a commit that referenced this issue Mar 27, 2018
@lock
Copy link

lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants