Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
boborua opened this issue Jan 14, 2021 · 2 comments
Closed
1 task done
Assignees

Comments

@boborua
Copy link

boborua commented Jan 14, 2021

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

Reproduction link

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)可以规避此问题

@boborua
Copy link
Author

boborua commented Jan 14, 2021

补充:我代码里的registerShape与此issue无关。。

@hustcc hustcc added the Mark label Jan 29, 2021
@hustcc hustcc self-assigned this Jan 29, 2021
@hustcc hustcc added the V4 label Jan 29, 2021
@pearmini
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants