react-component / react-component/table
需要Column的一个maxWidth 属性,其它列可按给定width number值伸缩,但某个列有最大宽
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 618
- Avg merge
- 10h 19m
- Merged PRs (30d)
- 2
Description
在用户侧Table外层自己加ResizeObserver是可以自定义实现的,希望这个能力直接放rc-table内。
建议实现maxWidth 逻辑, 或 导出column resize 的 prop,供用户自定义,以避免外层ResizeObserver定制
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the rc-table column sizing behavior and the issue's attached image. Compare the proposed maxWidth column property with exposing column-resize behavior for consumer-side customization. Done means agreeing on one API direction and defining how fixed widths, flexible columns, and a maximum width interact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100