Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad work positioning block on first load #86

Open
FanGremlin opened this issue Oct 24, 2017 · 1 comment
Open

bad work positioning block on first load #86

FanGremlin opened this issue Oct 24, 2017 · 1 comment

Comments

@FanGremlin
Copy link

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

@omer-sds
Copy link

omer-sds commented Nov 6, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants