You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ViewEncapsulation.Emulated no longer default in alpha38? #4494
I've just updated from alpha37 to alpha38, and all my components are now seemingly rendered with the behaviour ViewEncapsulation.None. Manually setting a component's encapsulation to Emulated restores the previous behaviour.
Going through the ng2 source, there no longer seems to be any code to make Emulated the default. In particular, this line:
formerly of core/render/api, in a block of code that seems to have been moved to core/metadata/view, is no longer present in the same block of code. While that might be a red herring, it does seem that all remaining references to ViewEncapsulation.Emulated are strict comparisons, without any faculty for it to be the fallback.
Thanks.
Yes, ViewEncapsulation.Emulated should be the default!
On Sat, Oct 3, 2015 at 6:24 AM Christopher Swasey [email protected]
wrote:
I've just updated from alpha37 to alpha38, and all my components are now
seemingly rendered with the behaviour ViewEncapsulation.None. Manually
setting a component's encapsulation to Emulated restores the previous
behaviour.
Going through the ng2 source, there no longer seems to be any code to make
Emulated the default. In particular, this line:
formerly of 'render/api', in a block of code that seems to have been moved
to metadata/view, is no longer present in any form. While that might be a
red herring, it does seem that all remaining references to
ViewEncapsulation.Emulated are strict comparisons, without any faculty
for it to be the fallback.
—
Reply to this email directly or view it on GitHub #4494.
Activity
fix(core): set `ViewEncapsulation.Emulated` as the default again
tbosch commentedon Oct 5, 2015
Thanks.
Yes, ViewEncapsulation.Emulated should be the default!
On Sat, Oct 3, 2015 at 6:24 AM Christopher Swasey [email protected]
wrote:
endash commentedon Oct 5, 2015
Thanks for the fix 👍
angular-automatic-lock-bot commentedon Sep 7, 2019
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.