作者:我有点懂了_707 | 来源:互联网 | 2023-09-09 14:20
Bug Report
The SSR docs suggest we inline all flex related styles so that they will work in SSR. This works for
etc but does not appear to work for
.
What is the expected behavior?
, etc styles are also inlined using media queries similarly to
.
What is the current behavior?
is ignored on SSR.
What are the steps to reproduce?
Providing a StackBlitz (or similar) is the best way to get the team to see your issue.
Hard to give a StackBlitz since its an SSR related issue, but anything like this
1
| [ngStyle.xs]="{'margin-top': '56px'}" |
does not make it into the SSR rendered version.
What is the use-case or motivation for changing an existing behavior?
SSR should look like regular version, or as close as possible.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
1 2 3 4
| Angular 6.0.7
Material 6.3.1
WIndows 10
TypeScript 2.7.2` |
Is there anything else we should know?
No
该提问来源于开源项目:angular/flex-layout
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.