react-component / react-component/virtual-list

Uncaught TypeError: Illegal invocation at HTMLDivElement.onWheel What is this ?

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
814
Forks
171
Avg merge
1h 3m
Merged PRs (30d)
3

Description

image
image

<List data={[0,1,2,3,4]} height={200} itemHeight={30} itemKey='id'>
    {index => <div>{index}</div>}
</List>

I was just using code above to making a demo for my self, and I got an problem from console

node : 14.15.1
"rc-virtual-list": "^3.3.0"
"react-dom": "^17.0.1",

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 supplied List example with rc-virtual-list 3.3.0, React 17.0.1, and Node 14.15.1, then start from the HTMLDivElement.onWheel error shown in the screenshots. Trace the event-handling path to identify the cause; the issue is done when the error is reproducible and either fixed or its required usage change is documented.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.