I have problems on first load page with scroll-pager
I suspect that this situation is due to the fact that the script runs before the download of pictures
script registration is in progress
$ this-> view-> registerJs ($ initString, View :: POS_READY, "{$ this-> id} _ias_main");
an attempt to replace POS_READY with POS_LOAD gives the correct effect when you press "Load more items", but not the first time the page loads
The delay (Minimal number of milliseconds to stay in a loading state) parameter can not be passed at all for execution
$ this-> render ($ model-> view?: 'category.twig', [
'dataProvider' => $ dataProvider,
'model' => $ model,
'pager' => ['class' => ScrollPager :: className (), 'delay' => 6000]
]);
I have problems on first load page with scroll-pager
I suspect that this situation is due to the fact that the script runs before the download of pictures script registration is in progress $ this-> view-> registerJs ($ initString, View :: POS_READY, "{$ this-> id} _ias_main"); an attempt to replace POS_READY with POS_LOAD gives the correct effect when you press "Load more items", but not the first time the page loads The delay (Minimal number of milliseconds to stay in a loading state) parameter can not be passed at all for execution $ this-> render ($ model-> view?: 'category.twig', [ 'dataProvider' => $ dataProvider, 'model' => $ model, 'pager' => ['class' => ScrollPager :: className (), 'delay' => 6000] ]);