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
onClickOutside with teleport #2287
Comments
same here, there's currently an ignore option for onClickOutside but it's currently only in the core and is not yet available for the components. Hope we could have it there too. |
You can use ignore as we did in the Anu framework here. In your case, you can assign template ref to the dropdown and add it to ignore list. I hope this will resolve your issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@mokone91 I would suggest you create a wrapping function in this situation. When #2439 is merged, you can also add selector strings in @carl1498 We've added support passing options in OnClickOutside component. But at the moment |
Clear and concise description of the problem
Hi!
I have a Modal with onClickOutside, I render select control which uses teleport to show dropdown content(to allow dropdown to overflow modal/any other overflow hidden wrapper) but when i click to dropdown content click outside it triggered as content rendered in body
Is there any solution exept to filter teleports on each onClickOutside usage?
Suggested solution
looking for solution
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: