3.8.9使用scrollbar报错
Open
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
引入:import F2 from '@antv/f2/lib/index-all';
可以正常滚动,但是控制台报错。报错信息:Failed to execute ‘createLinearGradient‘ on ‘CanvasRenderingContext2D
Contributor guide
Research direction
Reproduce the issue using `import F2 from '@antv/f2/lib/index-all'` and a chart with a scrollbar, then inspect the path that calls `createLinearGradient` on the canvas context. Done means scrolling still works and the console no longer reports the CanvasRenderingContext2D error.
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
- 35/100