-
Notifications
You must be signed in to change notification settings - Fork 46
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
Passing Context to Popup #192
Comments
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please refer to this post.
I have a component which uses context and it works as expected when I include it in other components. But when I try to include that same component in a SweetAlert popup, I get the error:
which means the component is not getting access to the context.
So when used outside of a SweetAlert popup, the component gets access to the context but not when inside the popup.
Here's my code for firing the popup:
If I remove the component from the popup, the popup works as expected.
The text was updated successfully, but these errors were encountered: