Skip to content

Error: The onClick of <s-button> is not working. #34

@ryujimorimoto

Description

@ryujimorimoto

When navigating to the page with navigate("/app"), the onClick handlers of elements such as the Delete button do not work, so handleDelete cannot be called.

As one workaround, you can capture the click using a ref and addEventListener, and then call the expected handleDelete logic.

However, this is not a good approach, so we believe another solution is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions