You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And you use this element two times, then you get a TypeError: this.endNode is null in your Firefox console. If you don't use the const but just put the string cool! at the place of ${cool} it doesn't happen. It works in Chrome.
You should get two times the text "cool!" underneath each other.
Actual Results
In Firefox the text "cool!" only appears one time. The first element is rendered, after that you get an error in the console TypeError: this.endNode is null.
Browsers Affected
Chrome
Firefox
Versions
lit-element: v0.6.0
webcomponents: v2.1.2
The text was updated successfully, but these errors were encountered:
The issue is actually with the latest release of lit-html. Tracked as lit/lit#505.
gitaarik
changed the title
TypeError: this.endNode is null in Firefox when using element with template partTypeError: this.endNode is null in Firefox when using element with template part
Sep 17, 2018
gitaarik
changed the title
TypeError: this.endNode is null in Firefox when using element with template part
TypeError: this.endNode is null in Firefox when using element with template part
Sep 17, 2018
gitaarik
changed the title
TypeError: this.endNode is null in Firefox when using element with template part
TypeError in Firefox when using a particular element two times
Sep 17, 2018
Description
When you have an element like this:
And you use this element two times, then you get a
TypeError: this.endNode is null
in your Firefox console. If you don't use theconst
but just put the stringcool!
at the place of${cool}
it doesn't happen. It works in Chrome.Live Demo
Demo: https://understood-humor.glitch.me/
Source code: https://glitch.com/edit/#!/understood-humor
Steps to Reproduce
Expected Results
You should get two times the text "cool!" underneath each other.
Actual Results
In Firefox the text "cool!" only appears one time. The first element is rendered, after that you get an error in the console
TypeError: this.endNode is null
.Browsers Affected
Versions
The text was updated successfully, but these errors were encountered: