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 处于 loading=true 的情况下,表格没有安全处于模糊状态 #10227

Closed
1 task
yyj66 opened this issue Apr 24, 2018 · 1 comment
Closed
1 task

Comments

@yyj66
Copy link

yyj66 commented Apr 24, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.4.3

Environment

window10 Chrome 版本 66.0.3359.117

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 设置 table 的 loading=true
  2. table有一定的数据量,高度超过320px
  3. 有操作列
  4. table底部的行的操作列还能操作
  5. 发现是以下样式的问题
.ant-spin-nested-loading > div > .ant-spin {
  position: absolute;
  height: 100%;
  max-height: 320px;  (此处设置的最大高度引起的问题)
  width: 100%;
  z-index: 4;
}

What is expected?

希望 处于loading=true的情况下,安全处于模糊状态,包括分页内容,即相关操作禁止操作

What is actually happening?

loading=true的情况下,table没有安全处于模糊状态

@ant-design-bot
Copy link
Contributor

Translation of this issue:


Table is not fuzzy in the case of loading=true

  • [] I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.4.3

Environment

Window10 Chrome version 66.0.3359.117

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Set the loading=true of table
  2. table has a certain amount of data, height exceeds 320px
  3. There is an operation column
  4. The operation column of the row at the bottom of the table can also operate
  5. Found that it is the problem of the following style
.ant-spin-nested-loading > div > .ant-spin {
  Position: absolute;
  Height: 100%;
  Max-height: 320px; (the problem caused by the maximum height set here)
  Width: 100%;
  Z-index: 4;
}

What is expected?

Hope that in the case of loading=true, security is in a fuzzy state, including paged content, ie related operations are prohibited

What is actually happening?

In the case of loading=true, the table is not in a fuzzy state

@afc163 afc163 closed this as completed in c85758f Apr 25, 2018
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