You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "echarts-bot[bot] (via GitHub)" <gi...@apache.org> on 2023/03/29 09:39:06 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #18444: [Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸
echarts-bot[bot] commented on issue #18444:
URL: https://github.com/apache/echarts/issues/18444#issuecomment-1488270918
@candy4290 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] handleIcon is customized to base64, and the image will be stretched in height when setOption or resize is called again
**BODY**
### 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);
Open the page, call resize after 2 seconds, and find that the height of handleIcon is pulled by the rope
### Current Behavior
Open the page, call resize after 2 seconds, and find that the height of handleIcon is pulled by the rope
### Expected Behavior
The height of the custom handleIcon image will never be deformed
### Environment
```markdown
-OS:window10
- Browser: Chrome 111.0.5563.65
- Framework: just normal js
```
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org