Skip to content

Commit fc3979a

Browse files
committed
Fix first rendering of transform
1 parent c04bb84 commit fc3979a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Libraries/StyleSheet/extendProperties.web.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import getVendorPropertyName from 'domkit/getVendorPropertyName';
99
import CSSProperty from 'CSSProperty';
10+
import { convertTransform } from '../Utilties/setNativeProps'
1011

1112
var shorthandProperties = {
1213
margin: true,
@@ -217,7 +218,7 @@ function extendProperties(style) {
217218
result[property] = value;
218219
}
219220
}
220-
221+
Object.assign(result, convertTransform(result));
221222
return result;
222223
}
223224

Libraries/Utilties/setNativeProps.web.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,4 @@ function setNativeProps(node, props, component) {
9090
}
9191

9292
module.exports = setNativeProps;
93+
module.exports.convertTransform = convertTransform;

0 commit comments

Comments
 (0)