-
Notifications
You must be signed in to change notification settings - Fork 772
fxShow/fxHide is setting display: block on inline elements #724
Comments
Duplicate of #142? |
Just noticed this issue, some |
Oh I see the problem now. The fallback, ideally, should be blank. I'll try to get in a fix for this by beta 17 |
Any progress on this? @CaerusKaru @ThomasBurleson |
If anyone is looking for a temp solution this is what we had to do
It sets the display to flex when the column is not hidden for a given breakpoint. |
I've looked into this, and unfortunately while I can plainly see this replicated in the StackBlitz, any test cases I create for default inline elements (e.g. |
@CaerusKaru here's another reproduction using mat-table. The cells are supposed to be |
Found the same issue with a table column that I was trying to hide for small devices (using .hide {
display: none;
} and in the html: <td ngClass.xs="hide">...</td> |
@aklauza Can you pull together a StackBlitz using your example? The only issue with @adamdport's examples are that they're all using Angular-defined elements, so it's tough to know what the defaults are supposed to be. |
I think I've got this patched in #881. Please build to make sure. If I don't hear back either way in the next week, I'll push it to the nightly builds (since it's not that far ahead of NPM, it shouldn't impact too many if it breaks something). |
@CaerusKaru what's the simplest way to test a branch? It looks like the package name is |
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. |
Bug, feature request, or proposal:
bug
What is the expected behavior?
fxHide
shouldn't affect the originaldisplay
of the elementWhat is the current behavior?
fxHide
is sometimes settingdisplay:block;
What are the steps to reproduce?
https://stackblitz.com/edit/angular-flex-layout-seed-8vay7o
What is the use-case or motivation for changing an existing behavior?
I sometimes want inline elements that hide at certain breakpoints
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
#320 fixed some instances of this behavior, but not all. Perhaps this is related to transclusion?
The text was updated successfully, but these errors were encountered: