Infinite Scroll, data-infinite-distance not working well

Hello sir,

  I am using your framework7 past few months. 

  I am using latest version 4.1.0.

   In this i set data-infinite-distance="500" but infiniteScroll event triggering at the last end of the page. It means that  infinite event triggering as like as if i didn't set any data distance. 

 I am coming to say is, for both data-infinite-distance="400" and data-infinite-distance="10" settings the infinite scroll event triggers at last end of the page.

please help in this case.


I can see it works correctly. Maybe you put this attr on a wrong element? Show your code