From eba2862e70340f4882e2584bd86183e859cb30d1 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 6 Dec 2016 10:00:09 -0600 Subject: [PATCH] fix(input): apply transform css prefix --- src/components/input/native-input.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/input/native-input.ts b/src/components/input/native-input.ts index 32db987b04..9ba2f5a302 100644 --- a/src/components/input/native-input.ts +++ b/src/components/input/native-input.ts @@ -146,7 +146,7 @@ export class NativeInput { if (shouldHideFocus) { cloneInputComponent(focusedInputEle); - focusedInputEle.style.transform = 'scale(0)'; + (focusedInputEle.style)[CSS.transform] = 'scale(0)'; } else { removeClone(focusedInputEle); @@ -209,7 +209,7 @@ function cloneInputComponent(srcNativeInputEle: HTMLInputElement) { srcComponentEle.style.pointerEvents = 'none'; } - srcNativeInputEle.style.transform = 'scale(0)'; + (srcNativeInputEle.style)[CSS.transform] = 'scale(0)'; } function removeClone(srcNativeInputEle: HTMLElement) { @@ -222,7 +222,7 @@ function removeClone(srcNativeInputEle: HTMLElement) { srcComponentEle.style.pointerEvents = ''; } - srcNativeInputEle.style.transform = ''; + (srcNativeInputEle.style)[CSS.transform] = ''; srcNativeInputEle.style.opacity = ''; }