jlerp
April 4, 2022, 10:14am
1
Hi,
I am trying to build my first custom component, everything seems ok on Adalo but, on TestFlight, the styles are not presents.
Also, on Adalo, the horizontal scroll doesn’t works, it’s not really important but disappointing (ScrollView with horizontal option), it works on TestFlight…
Do I miss something? Thank you for your help.
On Adalo:
On my iPhone (TestFlight):
This is not something related to Adalo,
please check if the library or the styling options that you are using are IOS supportive
jlerp
April 4, 2022, 12:21pm
3
Thank you for answering.
My style are very basics…
const styles = StyleSheet.create({
image: {
height: '25px',
width: '25px',
marginRight: '5px',
},
itemWrapper: {
border: '1px solid #e0e0e0',
borderRadius: '5px',
padding: '5px',
marginRight: '20px',
flexDirection: 'row',
lineHeight: '23px'
},
activeItem: {
fontWeight: 'bold'
},
unactiveItem: {
color: '#000'
}
})
These styles are not for native. they only work on web.
Please check reactnative.dev for the styling options.
React-native is not like css or html basic styling…
1 Like
jlerp
April 4, 2022, 9:27pm
5
Thank you! I changed the attributes and it works!
1 Like
system
Closed
April 15, 2022, 8:06am
7
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.