Changes made to inline styles are not always reflected to browser with v12. #20904
Closed
1 task done
Labels
area: @ngtools/webpack
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command
Is this a regression?
I'm not sure, I've been more of a "styles should go to a separate file" type of guy till recently.
Description
When styles are inlined in component, changes made during
ng serve
are not consistently reflected to browser.Only first change to inline style gets reflected or changes made to multiple properties/lines (even that one fails from time to time), but not single ones.
Check the provided repo below:
In
app/core/pages/home.component.ts
trying to change background color ofmain
class and see that it wont be changed on the browser (after first change)🔬 Minimal Reproduction
Here is an example repo:
https://github.com/bogacg/FantasyCarDealer
🌍 Your Environment
Anything else relevant?
I've tested on Chrome & Firefox and same result should be seen on both.
This issue is opened after Originally posted by @alan-agius4 in #20882 (comment)
The text was updated successfully, but these errors were encountered: