antvis / antvis/F2

Bug报告

Open
#1,773 0 comments 0 reactions 0 assignees View on GitHub
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.

### What problem does this feature solve?
目前在v4.0.43中发现代码逻辑错误,具体位置:
src/components/geometry/index.tsx Line:583

### What does the proposed API look like?
```javascript
// src/components/geometry/index.tsx Line:583
if (!value) {
return rst;
}
```
当值类型为数字且值为0时,会直接return
期望value为0时继续执行下面的逻辑。

Contributor guide

Open the contributing guide

Research direction

Start in src/components/geometry/index.tsx around line 583 and inspect the value-handling branch described in the issue. Verify the behavior for numeric value 0 and confirm that the subsequent logic runs instead of returning early; done means zero-valued data is handled correctly without changing other values.

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
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.