react-component / react-component/virtual-list

渲染第一项高度变更,滚动位置不准确

Open
#303 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

  • version: v 3.17.0

  • commit 10ca51df551674f9ad844d8b7c57e6e20306c64b

第一项内高度变更,之后定位不准确,例如第一项内是div[contenteditable="true"], 输入内容改变高度,位置就不准确了
Image

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 issue described against v3.17.0 and commit 10ca51df551674f9ad844d8b7c57e6e20306c64b, using a first list item with div[contenteditable="true"] whose height changes while editing. Trace the virtual list's height and scroll-position handling; done means the scroll position remains accurate after the first item's height changes.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.