Skip to content

Table gets overflow scroll instead of auto when scroll is set #8443

@IceMooncake

Description

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

Version

4.2.6

Environment

Windows11, Chrome 88, [email protected], [email protected]

Reproduction link

Edit on CodeSandbox

Steps to reproduce

it has a gray scrollbar-holder even though it's not tall enough to scroll.

What is expected?

It should have overflow-y: auto instead of overflow-y: scroll since auto allows scrolling when max-height is reached, while scroll always

What is actually happening?

It gets overflow-y: scroll, leading to a gray bar at all times.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions