Skip to content

[Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸 #18444

@candy4290

Description

@candy4290

Version

5.4.2

Link to Minimal Reproduction

https://codesandbox.io/s/gifted-dirac-z8q7u5?file=/src/index.js

Steps to Reproduce

setTimeout(() => {
chart.resize();
console.log("---");
}, 2000);

打开页面,2秒后调用resize,发现handleIcon高度被拉绳

Current Behavior

打开页面,2秒后调用resize,发现handleIcon高度被拉绳

Expected Behavior

自定义的handleIcon图片高度永远不会变形

Environment

- OS:window10
- Browser: Chrome 111.0.5563.65
- Framework: just normal js

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions