Skip to content

How can I get this work for a node element that already has a ref #972

@Yeran

Description

@Yeran

ISSUE DESCRIPTION:
I am trying to use the lib to close a modal dialog whenever a click happens outside the modal(on backdrop), but the dialog itself has a ref for its main functionality.

SNIPPET:
image

QUESTION:
Is there any workaround to get this work for a node element that already has a ref (for the dialog in the given specific case) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions