[Feature] 滚动条单独滚轮状态希望支持按固定步长滚动
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 221
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 26
Description
What problem does this feature solve?
https://jsfiddle.net/ghtzvqka/2/ 想要的效果为右侧第四个,目前组件仅支持第三种
以及滚动条的高度应该限制个最小值,目前数据太多,滚动条会缩到看不见
What does the proposed API look like?
1、支持滚轮按固定步长滚动
2、滚动条限制最小高度,防止看不见
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked JSFiddle to compare the requested fixed-step wheel behavior with the current behavior, then locate the chart scrollbar implementation in the repository. Check how wheel increments and scrollbar thumb sizing are handled. Done means fixed-step scrolling works and the scrollbar retains a visible minimum height when there is much data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100