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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng new creates wrong rgba value in app.component.html #17411

Closed
1 of 15 tasks
bene-we opened this issue Apr 7, 2020 · 1 comment 路 Fixed by #17413
Closed
1 of 15 tasks

ng new creates wrong rgba value in app.component.html #17411

bene-we opened this issue Apr 7, 2020 · 1 comment 路 Fixed by #17413
Labels
area: schematics/angular freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix
Milestone

Comments

@bene-we
Copy link

bene-we commented Apr 7, 2020

馃悶 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

When creating a new project through ng new <project-name>, the following rgba is set in line 123 in app.component.html:

box-shadow: 0 4px 17px rgba(black, 0.35);

Chrome is not applying the box shadow since it is an invalid property value:

Wrong rgba value

Edge does so as well.

Changing the line to box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35); resolves the issue, as well as removing the line entirely (leaving the transform animation only).

馃敩 Minimal Reproduction

  • run ng new angular-app
  • Take a look at line 123 in app.component.html

馃實 Your Environment


Angular CLI: 9.1.0
Node: 12.16.1
OS: win32 x64

Angular:
...
Ivy Workspace:

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.901.0
@angular-devkit/core         9.1.0
@angular-devkit/schematics   9.1.0
@schematics/angular          9.1.0
@schematics/update           0.901.0
rxjs                         6.5.4

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: schematics/angular freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants