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

shop (from polymer-cli v1.2) is not compatible with Edge #132

Closed
RuslanKim opened this issue Jun 14, 2017 · 5 comments
Closed

shop (from polymer-cli v1.2) is not compatible with Edge #132

RuslanKim opened this issue Jun 14, 2017 · 5 comments

Comments

@RuslanKim
Copy link

2017-06-14_11-36-24

Is there a fix?

@RuslanKim
Copy link
Author

when "polymer serve" runs it works with IE11 but does not with latest Edge :(

@keanulee
Copy link
Contributor

This seems to be an issue with Edge 15 which added support for CSS custom properties (the implementation has a bug - see https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12414257/).

This wasn't an issue before because we relied on the polyfill. We are currently considering whether to force the polyfill on Edge to workaround this issue.

@RuslanKim
Copy link
Author

It makes sense, but Polymer website, which is build and based on Polymer too, works perfectly with Edge for some reason .)

@frankiefu
Copy link
Member

Fixed in webcomponents/shadycss#120

@RuslanKim
Copy link
Author

RuslanKim commented Aug 11, 2017

Bad issues and bad practice, if you have to fix right now right here, just add these into landing html:

<script> //Force all polyfills on for Edge 15 if (window.navigator.userAgent.indexOf("Edge") > -1) { if (window.customElements) { window.customElements.forcePolyfill = true; } ShadyDOM = { force: true }; ShadyCSS = { shimcssproperties: true }; } </script>

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

No branches or pull requests

3 participants