Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

gdColumns do not set "display: grid" #1258

Closed
pasha-bolokhov opened this issue May 17, 2020 · 2 comments
Closed

gdColumns do not set "display: grid" #1258

pasha-bolokhov opened this issue May 17, 2020 · 2 comments

Comments

@pasha-bolokhov
Copy link

Bug Report

I have a div which disappears on "xs" screens

<div gdColumns.gt-xs="100px 100px" gdAlignRows.gt-xs="end stretch" fxShow fxHide.lt-sm>
...
</div>

If you load the page originally on a large screen, it shows up alright. However, if you load the page on an "xs" screen, and then enlarge it, the inner formatting gets corrupted, because this div does not get a display: grid clause

What is the expected behavior?

Expecting to see a consistent picture, regardless whether you load the page on a large or small screen, then enlarge or shrink it, this div should always appear identical

What is the current behavior?

Currently, again, original load on an "xs" page, followed by an enlargement of the screen, shows a "corrupt" version of the div, which is remedies by adding display: grid either in dev tools, or explicitly in CSS file

What are the steps to reproduce?

This issue sounds "somewhat" similar to #1165, although I was not able to reproduce or figure out what exactly was going wrong in that case

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

@CaerusKaru
Copy link
Member

Duplicate of #1130

@CaerusKaru CaerusKaru marked this as a duplicate of #1130 May 17, 2020
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants