Skip to content

custom image component should not overwrite custom onLoad props #125

Description

@atlasgong

Describe the bug
the component currently spreads props but then overwrites onLoad without preserving any client handler.

Expected behavior
our custom Image component should be called AFTER setLoading(false) to avoid overwriting client logic. this allows the possibility for client code to provide their own onLoad handler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Awaiting development...

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions