antvis/G2

条形图 style 纹理效果首次渲染失效(黑色填充)必须触发刷新动作 #3203

boborua posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

https://stackblitz.com/edit/react-9eefbd?file=src/index.js

Steps to reproduce

首次渲染贴图是失效的,渲染成了全黑色区域。hover上去或者做其他刷新动作(调用render等)才能恢复

Environment Info
g2 4.1.7
System -
Browser -

设置chart.animate(false)这个问题是必现的 chart.animate(true)可以规避此问题

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


4.x 的这个问题不会修复了,如果需要改能力,可以使用 5.x 的版本:

posted by pearmini over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests