react-component / react-component/table

when set scrollY, over overflow-y will be set to 'scroll'

Open
#872 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
618
Avg merge
10h 19m
Merged PRs (30d)
2

Description

When Table add property scroll={{ y: 355 }},and internal height is less than 355,a scroll bar will appear

image

I submit pr for this issue, please check whether the change is reasonable

pull request

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Table case described here with scroll={{ y: 355 }} and content shorter than 355px, then review pull request #865 to understand the proposed change. Done means the short table no longer displays an unnecessary vertical scrollbar while the requested scrolling behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.