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

Only showing loading on reload #13

Open
fnils opened this issue Jun 15, 2020 · 1 comment
Open

Only showing loading on reload #13

fnils opened this issue Jun 15, 2020 · 1 comment

Comments

@fnils
Copy link

fnils commented Jun 15, 2020

I only get the loading bar to start when the page is loading the first time or is reloading.
If I the use out post or get after that nothing seems to happen.
I did follow the instructions in the readme.md.

@jsakamoto
Copy link
Owner

Was the HTTP request finished under 100 msec?

After install and configure this library, any HTTP requests - even if it is "POST" - to servers from HttpClient will cause appearing loading bar effect only if the request takes over 100 msec.

Please visit Live Demo Site,

and try ... with No-Wait buttons.
HTTP requests by clicking those ... with No-Wait buttons will be finished immediately, and you won't see the loading bar effect.

The source code of that sample site can be found in the URL below:

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