fix iOS easing

This commit is contained in:
Adam Bradley
2015-05-05 14:34:31 -05:00
parent 2e28dbb6cf
commit 9915669859
2 changed files with 1 additions and 10 deletions

View File

@ -255,7 +255,7 @@ export function processElement(action, animation, elementIndex, clearCache) {
the element's current value. */ the element's current value. */
function parsePropertyValue(valueData, skipResolvingEasing) { function parsePropertyValue(valueData, skipResolvingEasing) {
var endValue = valueData[0]; 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]; var startValue = valueData[2];
/* Default to the call's easing if a per-property easing type was not defined. */ /* Default to the call's easing if a per-property easing type was not defined. */

View File

@ -186,15 +186,6 @@ export class NavBase {
// resolve that this push has completed // resolve that this push has completed
resolve(); 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 = '';
}
});
}); });
}); });