Skip to content

[BUG] When the Image src is a URL address, repeated rendering may fail #1952

@wang1212

Description

@wang1212
  • OS: [e.g. win10, iOS8.1]
  • Browser [e.g. chrome, safari]
  • Version [e.g. @antv/[email protected]]

@antv/[email protected]

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Link to code example:

The current behavior

When the image src is a URL address, the first rendering is normal, but subsequent repeated rendering may fail when the element tree structure is changed or remounted.

But when the src value is changed to the Image instance of the Web API, the rendering is normal.

The expected behavior

Image's src attribute can be successfully rendered in any case when it is any form of value.

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