From a1223da08c3813c54de9d712d388b582ddc4cee4 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Sun, 19 Jun 2016 10:43:12 -0500 Subject: [PATCH] fix(animation): correctly apply will-change: transform --- src/animations/animation.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/animations/animation.ts b/src/animations/animation.ts index 03f59df759..6983520032 100644 --- a/src/animations/animation.ts +++ b/src/animations/animation.ts @@ -652,7 +652,12 @@ export class Animation { if (addWillChange) { for (prop in this._fx) { if (this._fx[prop].wc !== '') { - wc.push(this._fx[prop].wc); + if (this._fx[prop].wc === 'webkitTransform') { + wc.push('transform', '-webkit-transform'); + + } else { + wc.push(this._fx[prop].wc); + } } } }