Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--app-grid-expandible-item-columns value is always equal to --app-grid-columns if not in :host #492

Open
8 tasks done
iSuslov opened this issue Jun 15, 2017 · 1 comment

Comments

@iSuslov
Copy link

iSuslov commented Jun 15, 2017

Description

--app-grid-expandible-item-columns value is always equal to --app-grid-columns if styles not applied in :host, so in one element you can have only one app-grid if you want to use --app-grid-expandible-item-columns

Expected outcome

Ability to apply styles more specifically, for example in grid class.

Actual outcome

see descr

Steps to reproduce

Try to create two different app-grids in one element with different --app-grid-expandible-item-columns.

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@frankiefu
Copy link
Contributor

The current app-grid doesn't support having different --app-grid-expandible-item-columns in the same scope. This is also a limitation in Custom properties shim: within a given element's local DOM scope, a custom property can only have a single value. One workaround is to copy the CSS from app-grid and modify for use in your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants