react-component / react-component/table

If virtual is enabled, an error message is displayed,node.getBoundingClientRect is not a function

Open
#1,213 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

image

css.js:88 Uncaught TypeError: node.getBoundingClientRect is not a function
at getOffset (css.js:88:1)
at stickyScrollBar.js:84:1
at callRef (raf.js:30:1)
at raf.js:34: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

Start by reproducing the error with virtual enabled, then trace the stack from css.js:88 in getOffset through stickyScrollBar.js:84 and raf.js. Confirm which value reaches getOffset and define done as virtual mode no longer throwing the reported TypeError.

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.