Skip to content

table组件,scroll设置y时,下拉滚动条出现的不合理 #1697

@masterlirui

Description

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

Version

1.4.10

Environment

Win10,Chrome79.0.3945(64位),Vue(2.5.17)

Reproduction link

Edit on CodeSandbox

Steps to reproduce

a-table设置 :scroll添加 y:400

What is expected?

未超过y设置值不要展示滚动条占位符。

What is actually happening?

给scroll.y设置值后,表格内容超过y设置的值出现滚动条占位符(正常)且可以正常下拉滚动。但是表格内容如果没有超过Y设置的值,右侧也会出现滚动条占位符

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions