DataTables' DOM manipulation appears to break Aurelia

DataTables' DOM manipulation appears to break Aurelia

photomoosephotomoose Posts: 1Questions: 1Answers: 0

When switching views in a single page application written in Aurelia, the aurelia-templating engine throws an error:

aurelia-templating.js:996 Uncaught (in promise) TypeError: Cannot read property 'nextSibling' of null(…)

I believe this is caused by the fact that DataTables doesn't persist the HTML comment placeholders that are required by Aurelia.

Please see https://github.com/aurelia/templating/issues/343 for more details.

Answers

  • allanallan Posts: 64,106Questions: 1Answers: 10,574 Site admin

    There is a comment in the thread you linked to saying that the latest version of Aurelia appear to work okay with DataTables. Is that the case for you?

    Allan

This discussion has been closed.