react-component / react-component/virtual-list

由于传入的height不是一个固定值,所以想要实现在屏幕resize的时候更新height入参,将height作为state来维护,改变屏幕高度时,会出现js报错问题,不是必现,但是大概率可复现。

Open
#9 1 comment 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

20200203174313

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

The issue provides only a screenshot and describes an intermittent JavaScript error when a state-managed height changes during screen resizing. No source file or test is named; begin by reproducing the resize scenario and tracing the height update path, with the error no longer occurring as the completion criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.