You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/07/04 14:23:07 UTC
[GitHub] [echarts] cubecleveland opened a new issue, #17314: hostObj is undefined
cubecleveland opened a new issue, #17314:
URL: https://github.com/apache/echarts/issues/17314
### Version
5.3
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
Any custom chart that uses renderItem
### Current Behavior
host Obj is undefined
which is coming from here ...
export function makeInner() {
var key = '__ec_inner_' + innerUniqueIndex++;
return function (hostObj) {
return hostObj[key] || (hostObj[key] = {});
};
} in model.js
### Expected Behavior
Not to see that bug but unmoung gracefully
### Environment
```markdown
- OS: Widnows
- Browser: All
- Framework:React
```
### Any additional comments?
iwe think it comes from rapid mounting unmounting of the dom element togetehr with RenderItem function....
A
--
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.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
[GitHub] [echarts] plainheart commented on issue #17314: hostObj is undefined
Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17314:
URL: https://github.com/apache/echarts/issues/17314#issuecomment-1173881630
Similar to #17185? It should have been resolved in #17308.
--
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
[GitHub] [echarts] yousafhanif commented on issue #17314: hostObj is undefined
Posted by GitBox <gi...@apache.org>.
yousafhanif commented on issue #17314:
URL: https://github.com/apache/echarts/issues/17314#issuecomment-1177257405
facing the same issue.
`export function makeInner() {
var key = '__ec_inner_' + innerUniqueIndex++;
return function (hostObj) {
if (!hostObj)
hostObj = {};
return hostObj[key] || (hostObj[key] = {});
};
}`
That's the fix. pls fix and publish
--
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
[GitHub] [echarts] echarts-bot[bot] closed issue #17314: hostObj is undefined
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #17314: hostObj is undefined
URL: https://github.com/apache/echarts/issues/17314
--
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