-
Notifications
You must be signed in to change notification settings - Fork 11
Investigate why the Polymer minesweeper demo doesn't work in Firefox #203
Comments
Might be enough to just make it use the v1 polyfill instead of v0. |
The problem might also be that we might not wait for load of the webcomponents:
|
Again: in EventHandler test (which is not yet merged) polyfill with correct version is added before anything as it should be. But it doesn't help. |
It doesn't fix #203 but at least this is necessary for it to work. Other issues are most likely inside the HB itself.
The demo requires correct polyfill version and it's set via #205. It doesn't help as I mentioned before.
|
An addition: static |
|
I gave up. It requires more time than has been estimated. HB:
Regular Polymer :
|
It doesn't fix #203 but at least this is necessary for it to work. Other issues are most likely inside the HB itself.
Could try to see if this is somehow related to attributes being set only after some element has been attached to the DOM. |
During one way binding for Polymer feature implementation, I've found that adding The downside of this approach is that Chrome starts to show errors in the console (but it works still). |
FF also has an error in the console. Though it shows the content correctly and works. |
One piece of the puzzle is the way |
And it one more argument in creating the "import" fully configured (with preset all the attributes). |
This happens because we start using the web component from the |
How does webcomponent differs here from any plain HTML element ? |
When using the v1 polyfills, Polymer depends on the load event for some internal bookkeeping. This means that we cannot start using an imported web component if our load listener is registered before Polymer's load listener. Instead, we can use the HTMLImports.whenReady callback since it's fired only after Polymer has had a chance to register everything. Fixes vaadin/flow-demo#203
When using the v1 polyfills, Polymer depends on the load event for some internal bookkeeping. This means that we cannot start using an imported web component if our load listener is registered before Polymer's load listener. Instead, we can use the HTMLImports.whenReady callback since it's fired only after Polymer has had a chance to register everything. Fixes vaadin/flow-demo#203
When using the v1 polyfills, Polymer depends on the load event for some internal bookkeeping. This means that we cannot start using an imported web component if our load listener is registered before Polymer's load listener. Instead, we can use the HTMLImports.whenReady callback since it's fired only after Polymer has had a chance to register everything. Fixes vaadin/flow-demo#203
The custom element registration has been performed when the An element that was already in the DOM before the HTML import was loaded will be properly upgraded, as will an element that is added after |
* Use HTMLImports.whenReady for detecting HTML import loading When using the v1 polyfills, Polymer depends on the load event for some internal bookkeeping. This means that we cannot start using an imported web component if our load listener is registered before Polymer's load listener. Instead, we can use the HTMLImports.whenReady callback since it's fired only after Polymer has had a chance to register everything. Fixes vaadin/flow-demo#203 * Merge branch 'master' into html_import_event * Merge branch 'master' into html_import_event * Merge master into html_import_event * Merge branch 'master' into html_import_event
Might also be broken in other non-Chrome browsers.
The Core Elements team might have experience with debugging similar issues.
The text was updated successfully, but these errors were encountered: