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

[Playground] Ignored call to 'alert()'. The document is sandboxed, and the 'allow-modals' keyword is not set. #2794

Closed
PKulkoRaccoonGang opened this issue Nov 10, 2023 · 1 comment · Fixed by #2987
Labels
bug Report of or fix for something that isn't working as intended playground Paragon Playground feedback raccoon-gang

Comments

@PKulkoRaccoonGang
Copy link
Contributor

PKulkoRaccoonGang commented Nov 10, 2023

Feedback summary

The current implementation of the Playground, unfortunately, does not call and display native alerts. For example, if we send an alert call to onClick, we get the error:

Ignored call to 'alert()'. The document is sandboxed, and the 'allow-modals' keyword is not set.

image

@PKulkoRaccoonGang PKulkoRaccoonGang added bug Report of or fix for something that isn't working as intended raccoon-gang playground Paragon Playground feedback labels Nov 10, 2023
@brian-smith-tcril
Copy link
Contributor

I have a PR up that fixes this here #2987, but I do wonder if we actually want to support using alert() in the playground or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of or fix for something that isn't working as intended playground Paragon Playground feedback raccoon-gang
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants