-
Notifications
You must be signed in to change notification settings - Fork 112
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
Ionic view lifecycle event fired inaccurately #23
Comments
I found that we can have accurate ionic view event with no animation by using |
Thanks for the research. I will check if I can add this directive during
|
Do you mean this: http://ionicframework.com/docs/api/directive/navTransition/ ? If so I do not think this plugin can do anything about it except adding this to the documentation. What do you think? |
@shprink Yeah, I am referring to that. If that can't be done, then adding to the documentation would be fine. However, I guess you may need to remove |
You can now disable/enable ionic transitions using: https://github.com/shprink/ionic-native-transitions/blob/develop/README.md#enabledisable-optional |
@shprink That's awesome!!!! Didn't notice it is implemented. |
I am listening to you bro :) |
When Ionic page transition animation is disabled via
$ionicConfigProvider.views.transition('none')
, the view event like$ionicView.afterEnter
will not executes accurately. You can clearly see the problem when you test on low end budget device. This brings the problem of same page being animate in, even if you try to animate it withafterLeave
.I have report the issue to ionic (ionic-team/ionic-framework#4555), but I don't hope to see any action taken for it soon. So, for now the only way is to avoid disable animation using
$ionicConfigProvider.views.transition('none')
. The downside is we will have a small delay on page transition that we need to wait for ionic animation to finish, only then animate ours. Or you have any idea of alternative way to disable ionic animation or speed up the animation to make it extreme fast like almost no transition?The text was updated successfully, but these errors were encountered: