Closed
Description
When i use animate component in Developer mode it works fine but In Production mode the error appears. And i removed my all animate:view instead one animate component from my template then it worked. What should i do ?
My Template:
...
<animated:view class="scrolledContainer" :style="{backgroundColor:'rgba(247,247,247,'+JSON.stringify(testColor)+')'}">
<view :style="{height:statusBarHeight,width:'100%'}"/>
<animated:view class="headerContainer" :style="{opacity:transparentHeader,height:transparentHeight}">
...
</animated:view>
<animated:view class="scrolledHeader" :style="{opacity:whiteHeader,height:whiteHeight}">
<animated:text class="headerTitleTextStyle" :style="{fontSize:titleFont,opacity:titleColor}">{{data.name}}</animated:text>
</animated:view>
</animated:view>
...
So i reduced like:
...
<animated:view class="scrolledContainer" :style="{backgroundColor:'rgba(247,247,247,'+JSON.stringify(testColor)+')'}">
<view :style="{height:statusBarHeight,width:'100%'}"/>
</animated:view>
...
So i think it has to be only one animate component in a screen, Or i have to write React native component
My Defendencies
"dependencies": {
"expo": "29.0.0",
"i18next": "12.1.0",
"native-base": "2.8.1",
"react": "16.5.0",
"react-i18next": "8.3.8",
"react-native": "0.55.4",
"react-navigation": "3.0.4",
"vue-native-core": "0.0.8",
"vue-native-helper": "0.0.9",
"vuelidate": "0.7.4",
"vuex": "3.0.1",
"vuex-persist": "2.0.0"
},
Metadata
Metadata
Assignees
Labels
No labels