Skip to content

resize error #15253

@newplum

Description

@newplum

Version

5.1.2

Steps to reproduce

  1. vue 3.0
  2. onMounted(() => {
    window.addEventListener('resize', () => {
    echarts.resize()
    })
    })
  3. change window's width

What is expected?

echarts to resize on window resize

What is actually happening?

error: resize` should not be called during main process

example link

https://codesandbox.io/s/quizzical-mahavira-3gvst?file=/src/App.vue

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