# api.onPageChange werkt niet met eindeloos scrollen

**URL:** <https://meta.discourse.org/t/api-onpagechange-not-working-with-endless-scroll/179636>\
**Category:** Development\
**Created:** [14 februari 2021 om 07:16 UTC](https://meta.discourse.org/t/api-onpagechange-not-working-with-endless-scroll/179636 "2021-02-14T07:16:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [14 februari 2021 om 11:26 UTC](https://meta.discourse.org/t/api-onpagechange-not-working-with-endless-scroll/179636/2 "2021-02-14T11:26:52Z")

</div>

Yeah that won’t work. It’s only going to fire on a route change. You need to consider overriding the code that actually renders those tags directly rather than using Dom selection.

---

_[View the full topic](https://meta.discourse.org/t/api-onpagechange-not-working-with-endless-scroll/179636)._
