mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-24 23:25:40 +00:00
[fix] StyleSheet check 'transform' is an array
This commit is contained in:
@@ -16,7 +16,7 @@ const convertTransformMatrix = (transformMatrix) => {
|
||||
|
||||
const processTransform = (style) => {
|
||||
if (style) {
|
||||
if (style.transform) {
|
||||
if (style.transform && Array.isArray(style.transform)) {
|
||||
style.transform = style.transform.map(mapTransform).join(' ');
|
||||
} else if (style.transformMatrix) {
|
||||
style.transform = convertTransformMatrix(style.transformMatrix);
|
||||
|
||||
Reference in New Issue
Block a user