# api.onPageChange not working with endless scroll

**URL:** https://meta.discourse.org/t/api-onpagechange-not-working-with-endless-scroll/179636
**Category:** Development
**Created:** [February 14, 2021, 7:16am 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:** 5

<div class="post-metadata">

### Author: ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)
#### Post date: [February 15, 2021, 3:52pm UTC](https://meta.discourse.org/t/api-onpagechange-not-working-with-endless-scroll/179636/5 "2021-02-15T15:52:57Z")

</div>

Thanks! Funnily enough I started customising the [Tag Icons](https://meta.discourse.org/t/tag-icons-component/109757) last night and managed to get it to work! 😃

Out of curiosity tho, should the plugin file-override method as I described above should have worked as well? (If so any ideas what I was doing wrong?)

---

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