react-component / react-component/table

bug: 当 鼠标放在 header 上时, 水平方向无法滚动

Open
#516 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

鼠标放在 header 上时, 即使 useFixedHeader 设置为 false, 水平方向仍无法滚动,
复现地址: https://codesandbox.io/s/friendly-colden-3420j?file=/src/table.js:4252-4266

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

Start by reproducing the issue in the linked CodeSandbox, focusing on src/table.js around lines 4252-4266 and the useFixedHeader setting. Trace the horizontal-scroll behavior while the pointer is over the header; done means horizontal scrolling works there when useFixedHeader is false.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.