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没有数据时会覆盖submenu #3521

Closed
flyfinec opened this issue Oct 20, 2016 · 5 comments · Fixed by #3533
Closed

table没有数据时会覆盖submenu #3521

flyfinec opened this issue Oct 20, 2016 · 5 comments · Fixed by #3533
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@flyfinec
Copy link

发生问题的环境是:

  • antd 版本: 2.1.0
  • 操作系统及其版本: win10
  • 浏览器及其版本: chrome

如图:
image

table没有数据时,会遮住submenu,从1.0到最新版一直有这个问题
随手查了一下,.ant-table-placeholder的z-index:2,submenu的z-index:2,可能是产生问题的原因

@afc163
Copy link
Member

afc163 commented Oct 20, 2016

.ant-table-placeholder 应该尽可能调低。@ddcat1115

@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Oct 20, 2016
@ddcat1115
Copy link
Contributor

placeholder 设置为2是为了避免被 fixed-columns 时的阴影贯穿,这里 menu 的z-index好像可以去掉?这样弹出来的 .ant-menu-submenu-horizontal 的『z-index: 1050』才可以生效

@afc163
Copy link
Member

afc163 commented Oct 20, 2016

这么晚还在。。。

@afc163
Copy link
Member

afc163 commented Oct 20, 2016

👌 那先去掉 submenu 的 z-index: 2

@lock
Copy link

lock bot commented May 3, 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 3, 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

Successfully merging a pull request may close this issue.

3 participants