Skip to content

添加了scroll:{y}属性的表格,筛选结果为空时横向滚动条消失 #3562

@arika163

Description

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

Version

1.6.5

Environment

windows10@1909,chrome@81.0.4044.122,vue@2.6.11

Reproduction link

Edit on CodeSandbox

Steps to reproduce

对demo中的column8进行筛选

What is expected?

筛选结果为空时,横向滚动条依然保留,用户可以移会原先位置,把筛选清除

What is actually happening?

一旦筛选,横向滚动条消失,且自动向左滚动到极限位置,这会导致用户无法重置筛选,只要用户不刷新页面,就再也无法看到数据


考虑加个js,表空的时候把表头的margin-bottom去掉?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions