react-component / react-component/select

[question] 开启虚拟列表的select在滚动条达到底部时,如果滚轮事件继续进行,会直接滚动外部滚动条

Open
#1,023 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
482
Avg merge
15h 8m
Merged PRs (30d)
2

Description

开启虚拟列表的select在滚动条达到底部时,如果滚轮事件继续进行,会直接滚动外部滚动条,没有像rc-virtual-list的中lock50ms的等待,直到50ms内没有任何滚动事件进行,下次滚动发生才会滚动外部滚动条。

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 virtual-list Select behavior described in the issue, scrolling to the bottom and continuing wheel input. Compare its scrolling behavior with rc-virtual-list’s 50ms lock, then verify that the outer scrollbar remains still during continued events and moves only after the event gap.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.