Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Yeran opened this issue Feb 14, 2024 · 1 comment
Open

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

Yeran opened this issue Feb 14, 2024 · 1 comment

Comments

@Yeran
Copy link

Yeran commented Feb 14, 2024

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) ?

@avaya-jashmore
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants