yii2-scroll-pager icon indicating copy to clipboard operation
yii2-scroll-pager copied to clipboard

bad work positioning block on first load

Open FanGremlin opened this issue 7 years ago • 1 comments

I have problems on first load page with scroll-pager blog

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]          ]);

FanGremlin avatar Oct 24 '17 09:10 FanGremlin

i am using in the listing gallery too but didnt come across this problem see here a demo http://potentialpads.idowstech.com/properties/grid, can you add a link to your current page you are working on

omer-sds avatar Nov 06 '17 12:11 omer-sds