I got Cannot read property 'insertBefore' of null at View.insertNodesBefore error when I called aurelia.setRoot() and navigation menu in a paper-tabs disappeared.
<paper-tabs>
<paper-tab link repeat.for="row of router.navigation" name.bind="row.config.name">
<a href.bind="row.href" class="link" tabindex="-1" >${row.title}</a>
</paper-tab>
</paper-tabs>
I got Cannot read property 'insertBefore' of null at View.insertNodesBefore error when I called aurelia.setRoot() and navigation menu in a paper-tabs disappeared.
Here is a workaround.
Edit:
The error can happen without setRoot().
There is another issue. The ${row.title} is rendered upper than I expected in a tab. This issue might be fixed by giving style.
You might need to add selectable like this.