itemMarkerStyle defaultitemMarkerStyle 覆盖了props传入的
- 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://github.com/antvis/F2/blob/43a485ef7dde25c62eac008d21705752c355818f/packages/f2/src/components/tooltip/tooltipView.tsx#L272](https://github.com/antvis/F2/blob/43a485ef7dde25c62eac008d21705752c355818f/packages/f2/src/components/tooltip/tooltipView.tsx#L272)
### Steps to reproduce
https://github.com/antvis/F2/blob/43a485ef7dde25c62eac008d21705752c355818f/packages/f2/src/components/tooltip/tooltipView.tsx#L272
| Environment | Info |
|---|---|
| f2 | 5.0.28 |
| System | - |
| Browser | - |
Contributor guide
Research direction
Start at packages/f2/src/components/tooltip/tooltipView.tsx around line 272, linked in the issue. Compare the itemMarkerStyle default with the value supplied through props and reproduce the reported override using the referenced source. Done means the props-provided style is no longer unexpectedly overridden by the default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100