diff --git a/src/apis/StyleSheet/registry.js b/src/apis/StyleSheet/registry.js
index 232296b3..58a12987 100644
--- a/src/apis/StyleSheet/registry.js
+++ b/src/apis/StyleSheet/registry.js
@@ -203,7 +203,7 @@ const StyleRegistry = {
// if (!hasValidKey) { key = null; }
// cache resolved props when all styles are registered
- const key = isArrayOfNumbers ? `${prefix}${flatArray.join('-')}` : null;
+ const key = isArrayOfNumbers ? `${prefix}-${flatArray.join('-')}` : null;
return resolvePropsIfNeeded(key, flatArray);
}
diff --git a/src/components/Text/__tests__/__snapshots__/index-test.js.snap b/src/components/Text/__tests__/__snapshots__/index-test.js.snap
index 77f9d347..57d58899 100644
--- a/src/components/Text/__tests__/__snapshots__/index-test.js.snap
+++ b/src/components/Text/__tests__/__snapshots__/index-test.js.snap
@@ -1,25 +1,15 @@
exports[`components/Text prop "children" 1`] = `
+ className="rn-borderTopWidth:0px rn-borderRightWidth:0px rn-borderBottomWidth:0px rn-borderLeftWidth:0px rn-color:inherit rn-display:inline rn-font:inherit rn-marginTop:0px rn-marginRight:0px rn-marginBottom:0px rn-marginLeft:0px rn-paddingTop:0px rn-paddingRight:0px rn-paddingBottom:0px rn-paddingLeft:0px rn-textDecoration:none rn-whiteSpace:pre-wrap rn-wordWrap:break-word"
+ style={
+ Array [
+ 2,
+ undefined,
+ false,
+ false,
+ undefined,
+ ]
+ }>
children
`;
@@ -54,26 +44,16 @@ rn-wordWrap:break-word"
exports[`components/Text prop "selectable" 1`] = `
+ className="rn-borderTopWidth:0px rn-borderRightWidth:0px rn-borderBottomWidth:0px rn-borderLeftWidth:0px rn-color:inherit rn-display:inline rn-font:inherit rn-marginTop:0px rn-marginRight:0px rn-marginBottom:0px rn-marginLeft:0px rn-paddingTop:0px rn-paddingRight:0px rn-paddingBottom:0px rn-paddingLeft:0px rn-textDecoration:none rn-whiteSpace:pre-wrap rn-wordWrap:break-word"
+ style={
+ Array [
+ 2,
+ undefined,
+ false,
+ false,
+ undefined,
+ ]
+ } />
`;
exports[`components/Text prop "selectable" 2`] = `