-
Notifications
You must be signed in to change notification settings - Fork 567
Closed
Description
Hey, really great component, big thanks first of all!
Strange issue with custom icon component in ActionButton.Item
I have this result (unwanted transparent circles are marked with red arrows):

With this code:
<ActionButton
buttonColor='rgba(104, 231, 60, 0.35)'
offsetY={10} spacing={10}
onLongPress={this.props.all}
size={button}
>
<ActionButton.Item
buttonColor='rgba(90, 141, 242, 0.35)'
onPress={this.props.male}
size={button}
>
<Image source={require('a_resources/icons/male.png')}
style={{
height: 20,
width: 20,
}}
/>
</ActionButton.Item>
<ActionButton.Item
buttonColor='#f05757'
onPress={this.props.female}
size={button}>
<FemaleButtonIcon />
</ActionButton.Item>
</ActionButton>
FemaleButtonIcon is just a wrapper for similar to affected one - it contains the same Image component
So in both buttons where buttonColor set as rgba with transparency are these circles. With solid color set there is no issues.
Does buttonColor support rgba trancparency?
Or did I miss something?
Metadata
Metadata
Assignees
Labels
No labels