react-component / react-component/table

能否禁止监听列的变化

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

问题同858

https://github.com/react-component/table/blob/master/src/Body/MeasureRow.tsx#L11

这个逻辑影响拖拉列宽的实现,能否禁用或设为可配置?
毕竟用户操作dom改变column的行为因该用户负责,组件内部不用处理

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 with src/Body/MeasureRow.tsx at line 11 and read related issue 858 to understand the column-change listener. Determine whether the listener should be disabled or controlled by an option, and verify that column-dragging is no longer affected while the existing behavior remains available when intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.