Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Don't show loader on devices with fast connection (desktop) #6165

Closed
jhogervorst opened this issue Jul 14, 2013 · 1 comment
Closed

Don't show loader on devices with fast connection (desktop) #6165

jhogervorst opened this issue Jul 14, 2013 · 1 comment

Comments

@jhogervorst
Copy link
Contributor

I'm currently developing a large application with jQuery Mobile that'll be used on iPads and desktop computers. We've notices that, on desktop computer with a fast internet connection, the loader is only shown for a very short time. This is kind of annoying/distracting instead of useful.

Therefore, I'd like to request a feature which makes it possible to delay the showing of the loader. You could enable this (using a property/option), for example if you detect a desktop browser (server side).

It'd be cool if during the page load jQuery Mobile would use onprogress events to determine whether it's a small page or a larger page (or a large upload, for example). In case of the latter, the loader should still be shown.

If this is too much, you could decide to simply apply a delay of 100ms. If the next page is not loaded within that time, the loader will be shown.

@jaspermdegroot
Copy link
Contributor

@jhogervorst

Thanks. I am closing this as feature request for now. One note about detecting desktop browsers. That would be bad practise for this, because it says nothing about the connection.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants