This repository was archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 768
fxHide/fxShow incosistency with SSR and client rendered app #1163
Comments
I am also facing same issue. Please let me know if any possible solution for this. |
CaerusKaru
added a commit
that referenced
this issue
May 8, 2020
When SSR creates media screen styles, it sets the default `display` CSS property to `parent.display`. However, if the parent has its `display` property unset, it results in an empty display that breaks the correct functionality as the next closest match is made. This is fixed by setting `display` to `initial` as default instead of an empty value. Credit to @vmasek Fixes #1163
CaerusKaru
added a commit
that referenced
this issue
May 8, 2020
When SSR creates media screen styles, it sets the default `display` CSS property to `parent.display`. However, if the parent has its `display` property unset, it results in an empty display that breaks the correct functionality as the next closest match is made. This is fixed by setting `display` to `initial` as default instead of an empty value. Credit to @vmasek Fixes #1163
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report
What is the expected behavior?
fxHide.x
should behave the same when rendered by SSR and clientWhat is the current behavior?
fxHide.x
doesn't set thedisplay: block
in the CSS media query, it leaves it empty and items remain hidden.What are the steps to reproduce?
Try this code rendered by SSR with JS off in a browser and rendered by the browser to see the problem.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular:
8.2.14
FlexLayout:
8.0.0-beta.26
The text was updated successfully, but these errors were encountered: