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

Firestore Mixin Does Not Work With Internet Explorer 11 #341

Open
halloweenman opened this issue Apr 30, 2018 · 1 comment
Open

Firestore Mixin Does Not Work With Internet Explorer 11 #341

halloweenman opened this issue Apr 30, 2018 · 1 comment

Comments

@halloweenman
Copy link

halloweenman commented Apr 30, 2018

Description

I've added the Firestore Mixin to latest version of Polymer Starter Kit and it does not work in IE 11. IE 11 just shows a blank screen.

Expected outcome

I would have expected the Polymer Starter Kit to work as normal.

Actual outcome

Blank screen, nothing.

Steps to reproduce

Add/amend the following to starter kit my-app.html:

<link rel="import" href="../bower_components/polymerfire/firebase-app.html">
<link rel="import" href="../bower_components/polymerfire/firebase-firestore-mixin.html">

<firebase-app auth-domain="..." database-url="..." api-key="..." project-id="..."> </firebase-app>

class MyApp extends Polymer.FirestoreMixin(Polymer.Element) {
...
}
window.customElements.define(MyApp.is, MyApp);

When building use build --js-compile so that build is compiled to ES5 for IE 11 compatibility.

Browsers Affected

  • [x ] IE 11
@halloweenman
Copy link
Author

halloweenman commented May 3, 2018

One problem may be the mixin is using Object.assign which is not supported in IE.

Polymer officially currently supports IE11, as does Firestore.

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

1 participant