You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
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.
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.
+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 ...
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.
+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.
Activity
toddparker commentedon Aug 7, 2011
Can you add this to the feature request wiki? We'll re-open when we want to work on this. Thanks!
SamuelKC commentedon Aug 8, 2011
done
toddparker commentedon Aug 11, 2011
Thanks!
mdhgriffiths commentedon Oct 13, 2011
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 commentedon Oct 11, 2012
I found another snipped without the use of the block plugIn:
#3414
PorridgeBear commentedon Oct 19, 2012
+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 ...
tvanhouten commentedon Mar 31, 2013
+1. This is my desired default behavior. Please add as an option.
thenewguy commentedon May 17, 2013
+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 commentedon Oct 8, 2014
+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.