Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Is not Compatible with Polymer2.0 #35

Closed
Borjagodoy opened this issue Apr 12, 2017 · 5 comments
Closed

Is not Compatible with Polymer2.0 #35

Borjagodoy opened this issue Apr 12, 2017 · 5 comments

Comments

@Borjagodoy
Copy link

Hi!! I need use your component with polymer 2. I can do a PR with the changes in the code (content = slot) for the compatiblity of the component.

Is a interesting PR by the road map of the component?

@ozwaldorf
Copy link
Owner

If you have a fork with a fix for polymer 2.0, go ahead and make a PR!

@maxiplay
Copy link
Collaborator

maxiplay commented Sep 5, 2017

I tried to create a Polymer 2 version but the shadow dom v1 spec has limitations
First is webcomponents/shadycss#5

Second is
Selects distributed nodes inside of an element. ::content was renamed to ::slotted but as of yet no browser has shipped the renamed version. It's important to note that ::slotted can only select top-level children, it can't do descendant selectors.

/* Current implementation in Chrome */
::content h1 {
color: red;
}

/* Upcoming implementation in Chrome and Safari */
::slotted(h1) {
color: red;
}

@maxiplay
Copy link
Collaborator

maxiplay commented Sep 5, 2017

Will need to apply css dynamically but with a certain cost

@DarkSideOfMo0n
Copy link

I just created a PR for Polymer 2 compatibility. Please review!
#40

@onlinerahul
Copy link

So now is the grid system compatible with polymer 2? Can we use now? also is this grid support IE ?

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

5 participants