Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Feature request: modal loading message, prevent interaction with page #2036

Closed
SamuelKC opened this Issue · 9 comments

8 participants

SamuelKC Todd Parker Michael uqpik PorridgeBear Todd VanHouten thenewguy jeremyhill-up
SamuelKC

When the loading message is displayed the user can still click on the background controls. Could it be possible to prevent that adding a modal behaviour for the loading spinner.

Todd Parker

Can you add this to the feature request wiki? We'll re-open when we want to work on this. Thanks!

Todd Parker toddparker closed this
SamuelKC

done

Todd Parker

Thanks!

Michael

Yes please, this feature is needed. An option is needed to block user interaction when waiting on a page to load. Without it, a tap-happy user can queue up unintended events.

For now, I've sound this handy snippet: https://gist.github.com/1100435

uqpik

I found another snipped without the use of the block plugIn:

#3414

PorridgeBear

+1. I am using the new $.mobile.loading function. I have ended up hiding the content, but re-showing it is not playing nice, since after the modal finishes I move to another page. Then using a back button the page is still hidden. I need to find a hook to re-show it ...

Todd VanHouten

+1. This is my desired default behavior. Please add as an option.

thenewguy

+1

I think it would also be important to let the user exit the modal window if loading is taking too long and they want to interact with the UI again. Maybe this could just be exposed with an event that triggers every time the loader is shown though and manually added if it is too much trouble.

jeremyhill-up

+1 as well -- what's the point of overlaying the loader smack dab in the middle of the user's screen if they can still interact with the page, is my question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.