-
Notifications
You must be signed in to change notification settings - Fork 62
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
Remove flickering while loading view #65
Comments
Hey, is it s bug in meteor? I have been facing this in mobile browser alot. |
No it's an implementation issue (because the check if the user can see it is done after the view is rendered). |
oh. so we can check it with controller or router, I mean we can check it in JS part and then render the corresponding html (view) part , sounds good ? |
I think we need just one section where the view is rendered for the layout. That should be sufficient. https://github.com/GravityProject/gravity/blob/master/client/views/layout.html |
so should we have navigation template in if else block ? |
Could you provide an example please? |
The view "flickers" a little bit when it's loaded. This is caused by the layout.html file where two different areas are defined (one for the signed in user and one for the signed out user).
https://github.com/GravityProject/gravity/blob/master/client/views/layout.html
This needs to be refactored to just one section where the view is yielded.
The text was updated successfully, but these errors were encountered: