react-component / react-component/table

Bug: fixed column + expand row render 导致多个 expanded Row 被展现

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

重现方式:

  1. fix one of the columns
  2. add expandedRowRender

这个时候会发现固定列中会出现一个 expanded row,同时可以滚动的列中也可以出现一个 expanded row。目前 API 中 没有给出区别这两个不同 expanded row 的方法。如果用户想使用 滚动的 expanded row 来渲染一些内容的话,这些内容也会出现在固定的 gutter 列中。

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 issue with one fixed column and expandedRowRender, then trace the table rendering paths for the fixed gutter and scrollable columns. Done means expanded content can be distinguished or limited so content intended for the scrollable row is not duplicated in the fixed gutter.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.