-
Notifications
You must be signed in to change notification settings - Fork 383
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
unnecessary/annoying page refresh #42
Comments
I'm not sure if my problem is related with this but it looks like to me. |
I've got a similar issue where visitors have to refresh the page, else it -Ian Klatzco. On Wed, Mar 5, 2014 at 9:13 AM, rosariomgomez [email protected]:
|
Any news on this? |
I will try to look at this today |
Ajax loading seems to create more issues than it solves. For a temporary solution you can remove pjax, comment out https://github.com/oswaldoacauan/ghostium/blob/master/src/assets/js/scripts.js#L42-L87, it also resolves issue #35. |
@oswaldoacauan, seems like you have serious synchronisation problems, i.e. the pjax request is already finished and the new content is loaded into the container when the NProgress is still doing it's fade out effect. |
Here is a fixed version: szelpe@4ae0d00 Note: this is not an ideal solution, since the ajax request only starts after the animation, could improve by starting them simultaneously and create a synchronization point. |
When navigating to a page you have already visited, either via the browser back/forward buttons or link, the content of the page displays for a moment before disappearing and fading in via the standard loading animation.
Suggested fix: either disable the loading animation for cached pages, OR prevent the cached page from showing before the animation finishes.
The text was updated successfully, but these errors were encountered: