Open Sachin678 opened 8 years ago
I have the same problem...
I have a similar problem, the transition when I go back.
Android 5.0
Same as above
"Ionic Native Transitions" is not part of this repo, so I kindly ask: are you able to reproduce this problem when using the raw plugin code instead of that wrapper? And if so, please share your code with me.
The following in my case:
Flickering on android and ios (Ok on Intel chipset android, if that matters)
$rootScope.$on('$ionicView.beforeEnter', function(event, viewData) {
var options = {
"duration": 500,
"androiddelay": 100,
};
window.plugins.nativepagetransitions.slide(
options,
function () {},
function () {}
);
});
Crosswalk plugin used as well, if differs.
@nomoreboredom Does it differ without Xwalk?
The plugin works best if you pass in the href
param, did you try that as well?
@EddyVerbruggen can you give a example? thank you.
On stateGo it is loading same page with the animation and then after some delay load the passed state. I am using triggerTransitionEvent: '$ionicView.afterEnter' but it is not working properly.
stateGo Code:
$scope.goBack = function(state) { $ionicNativeTransitions.stateGo(state, {}, { "type": "slide", "direction": "right" }); };
Default options: $ionicNativeTransitionsProvider.setDefaultOptions({ duration: 300, androiddelay: -1, fixedPixelsTop: 0, // the number of pixels of your fixed header, default 0 (iOS and Android) fixedPixelsBottom: 0, // the number of pixels of your fixed footer (f.i. a tab bar), default 0 (iOS and Android) triggerTransitionEvent: '$ionicView.afterEnter', // internal ionic-native-transitions option backInOppositeDirection: true // Takes over default back transition and state back transition to use the opposite direction transition to go back });