Skip to content

lazy load not effect in a-image #8250

Open
@gentingincubus

Description

@gentingincubus
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

#5596
This issue was raised three years ago and has yet to be fixed!
Does not take effect when you write loading="lazy" in <a-image loading="lazy"/>
I suspect Antd's global loading conflict with it.

What does the proposed API look like?

a-image should add an additional attribute 'lazy' to control whether loading='lazy' is added to the native img tag

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions