-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
feat: hideOnStateChange
should also hide on state change error
#3051
Comments
hideOnStateChange
should also hide on state change errorhideOnStateChange
should also hide on state change error
Can you provide an example of this in a codepen? |
here you go http://codepen.io/vladius/pen/ByxdYa |
You can use the |
Thank you for your advice. However, I can't accept it as a solution for this reason: if the natural non-error delay will be greater than this value, the loading screen will mistakenly be hidden. I've already fixed the issue in my local ionic modification. it is as easy as handling an error like this, in parallel to I can't really see any argument against hiding the loading screen on errors, when the |
Type: feat
Platform: all
Not exactly a bug maybe, but when the state change fails, the loading screen remains on screen and so the app gets stuck. The
$stateChangeError
should also be listened to, to hide the Loading, when thehideOnStateChange
flag is used.The text was updated successfully, but these errors were encountered: