apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.68k stars 19.62k forks source link

[Bug] Treemap disappears on interaction / scroll / drilldown (Vue 3) #20530

Open DotoPototo opened 11 hours ago

DotoPototo commented 11 hours ago

Version

5.5.1

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/echart-treemap-vue-bug-q74ljp

Steps to Reproduce

Click on a node within the treemap OR click on the breadcrumb OR try to zoom with the mouse wheel and the treemap disappears.

A refresh brings it back.

Current Behavior

Treemap disappears/minimises to the top left.

Expected Behavior

Drilldown or zoom change

Environment

- OS: Any
- Browser: Chrome
- Framework: Vue 3

Any additional comments?

It uses data (data.js) which is the data directly from the disk usage example

helgasoft commented 7 hours ago

not-a-bug, probably due to error in Vue environment. Same code works fine in the Editor - Demo

DotoPototo commented 5 hours ago

@helgasoft just because something works outside of a framework doesn't automatically mean the bug is within the framework.

helgasoft commented 3 hours ago

Are you using the recommended vue-echarts ? There are examples to follow there.