[Bug] 图例显示溢出
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 5
Description
### Version
5.3.0
### Link to Minimal Reproduction
https://codesandbox.io/s/sharp-orla-8qs2u?file=/src/index.js
### Steps to Reproduce
开启全选 
关闭全选

### Current Behavior
legend 开启后,将全选/和反选 状态开启,图例的宽度不能自适应,溢出
### Expected Behavior
legend 开启后,将全选/和反选 状态开启,图例的宽度自适应,不溢出
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Research direction
Start with the minimal reproduction at CodeSandbox's src/index.js and reproduce the legend overflow when select-all and inverse-selection states are enabled. Trace the legend layout behavior from that entry point, then verify that the legend width adapts without overflow in both states.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100