mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix iOS easing
This commit is contained in:
@ -255,7 +255,7 @@ export function processElement(action, animation, elementIndex, clearCache) {
|
||||
the element's current value. */
|
||||
function parsePropertyValue(valueData, skipResolvingEasing) {
|
||||
var endValue = valueData[0];
|
||||
var easing = skipResolvingEasing ? valueData[1] : getEasing(valueData[1], opts.duration);
|
||||
var easing = skipResolvingEasing ? valueData[1] : getEasing(valueData[1] || opts.easing, opts.duration);
|
||||
var startValue = valueData[2];
|
||||
|
||||
/* Default to the call's easing if a per-property easing type was not defined. */
|
||||
|
@ -186,15 +186,6 @@ export class NavBase {
|
||||
|
||||
// resolve that this push has completed
|
||||
resolve();
|
||||
|
||||
// on the next frame, hide the item that's cached
|
||||
util.dom.raf(() => {
|
||||
// ensure it's state is still cached
|
||||
if (leavingItem.state === CACHED_STATE && leavingItem.navItem) {
|
||||
// CSS default is display:none, so setting to '' does the trick
|
||||
leavingItem.navItem.domElement.style.display = '';
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user