Flashing of non-rendered PagerJS page instances?
I have a Page instance that looks like this:
Anytime one first visits the site, one sees a flash of all the templates before they get hidden. PagerJS is evaluation the data-bind commands and hiding the page after this is done. What is the preferred way to take care of this problem? Thanks
Im using
.page {display: none;}
Out of town at the moment.
Sent from my iPhone
On Mar 10, 2013, at 14:24, kokujin [email protected] wrote:
I have a Page instance that looks like this:
... lots of markup
Anytime one first visits the site, one sees a flash of all the templates before they get hidden. PagerJS is evaluation the data-bind commands and hiding the page after this is done. What is the preferred way to take care of this problem? Thanks
— Reply to this email directly or view it on GitHub.
Thanks for replying even though you ae out of town :)
I am using .page {display: none;} too. The templates/Pages still "flash" and show all the pages briefly before hiding them
I just noticed that my example did not show, I have made a quick pastebin of it here : http://pastebin.com/SEzd6TP0
Could it be that PagerJS has problems with Knockjout virtual tags? I did not have this problem with the simple examples and tests.
On Sun, Mar 10, 2013 at 7:25 PM, Finnsson [email protected] wrote:
Im using
.page {display: none;}
Out of town at the moment.
Sent from my iPhone
On Mar 10, 2013, at 14:24, kokujin [email protected] wrote:
I have a Page instance that looks like this:
... lots of markup
Anytime one first visits the site, one sees a flash of all the templates before they get hidden. PagerJS is evaluation the data-bind commands and hiding the page after this is done. What is the preferred way to take care of this problem? Thanks
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/finnsson/pagerjs/issues/105#issuecomment-14686176 .
This happens on the demo site too by the way, here : http://pagerjs.com/demo/