diff --git a/ignite-template.js b/ignite-template.js index d572570..317aefd 100644 --- a/ignite-template.js +++ b/ignite-template.js @@ -2145,6 +2145,9 @@ class list extends IgniteTemplate { IgniteRenderingContext.enter(); try { + //Reset the list so it's scroll resets too. ScrollTop is unreliable. + this.element.parentElement.parentElement.replaceChild(this.element.parentElement, this.element.parentElement); + this.construct(null); //The list changed, reconstruct this template. } catch (error) { console.error("An error occurred during onListChanged:", error);