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

Dialog | strict CSP error #15999

Closed
cetincakiroglu opened this issue Jul 10, 2024 · 0 comments · Fixed by #16000
Closed

Dialog | strict CSP error #15999

cetincakiroglu opened this issue Jul 10, 2024 · 0 comments · Fixed by #16000
Assignees
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@cetincakiroglu
Copy link
Contributor

In dialog, moveOnTop method called after the appendContainer method which leads to security error due to setting inline style after appending the element to the DOM.

Solution: moveOnTop should be called before appendContainer method

@cetincakiroglu cetincakiroglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jul 10, 2024
@cetincakiroglu cetincakiroglu added this to the 17.18.4 milestone Jul 10, 2024
@cetincakiroglu cetincakiroglu self-assigned this Jul 10, 2024
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 10, 2024
cetincakiroglu added a commit that referenced this issue Jul 10, 2024
Fixes #15999 - Fix the order of methods to prevent strict CSP error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant