自定义legend,name中有空格导致justifyContent失效
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.
### Reproduction link
[](https://codesandbox.io/p/sandbox/epic-elgamal-d8q97y?file=%2Findex.jsx)
### Steps to reproduce


| Environment | Info |
|---|---|
| f2 | 5.5.2 |
| System | macos |
| Browser | - |
Contributor guide
Research direction
Start with the CodeSandbox reproduction linked in the issue and inspect the custom legend behavior in F2 5.5.2. Reproduce the case where a legend name contains spaces, then identify why justifyContent is ignored. Done means custom legend items respect justifyContent with names containing spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100