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

(MS EDGE bug) <head> element prevents classes to be applied to the <body> element in index.html #927

Closed
HristoP96 opened this issue Apr 10, 2019 · 1 comment

Comments

@HristoP96
Copy link

Project
StackBlitz Angular CLI in Microsoft EDGE

Description
Having a <head> element in index.html prevents css classes to be applied to the <body> element.

Steps to reproduce:

Open this StackBlitz sample in Microsoft Edge.

Result
The class added to the body is not triggered and the body background-color is not blue.

Expected Behavior
The background color should be blue.

P.S. Remove the head element from the index.html file and the body class is applied correctly

In index.html:

WithClass

In DevTools:

Console

@github-actions
Copy link

Apologies that we were unable to address this issue in a timely manner!

Given that we have millions of free users this has been a challenge, and we are working to improve over time. As part of an effort to focus on driving the most recent issues to resolution, this issue is being closed.

If this issue is still meaningful, please comment with an update and re-open the issue for troubleshooting! Thanks for your continued loyalty to the StackBlitz platform over the years!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants