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 · 4 remaining pull requests
Closed

Dialog | strict CSP error #15999

cetincakiroglu opened this issue Jul 10, 2024 · 0 comments · Fixed by #16000 · 4 remaining pull requests
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working v18-port
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
@mehmetcetin01140 mehmetcetin01140 added v18-port and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment