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

Notification often displays on homepage and then disappears #4

Closed
aaronfuzion opened this issue Feb 17, 2014 · 2 comments
Closed

Notification often displays on homepage and then disappears #4

aaronfuzion opened this issue Feb 17, 2014 · 2 comments

Comments

@aaronfuzion
Copy link

the no js notification often displays for a brief moment even when js is enabled. this is bad news. it's a deal breaker. looks pretty bad.

@kuflievskiy
Copy link
Owner

Yes, I know it. It is a disadvantage of this approach. We use JavaScript to disable error-block if JavaScript is enabled in the browser. In this case we need some time to process it. Usually it is really fast, but sometimes user can see popup/error message during page is loading.

We've moved JavaScript immediately after the erro message ( commit 62d7504 ). It might decrease this delay of popup showing for you.

If you have any other propositions, please share them with me ) In any way, I really appreciate your comments!

@kuflievskiy
Copy link
Owner

the no js notification often displays for a brief moment

I've added this css code in order to give browser a time for page rendering. It should help. You can customize it in case you want to have some cute css3-effects.

    -webkit-transition-property: width height background-color font-size left top color;
    -webkit-transition-duration:1s;
    -webkit-transition-delay:1s;
    -webkit-transition-timing-function: linear;
    transition-property: width height background-color font-size left top color;
    transition-duration:1s;
    transition-delay:1s;
    transition-timing-function: linear;

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