-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Ok I kept researching and I found out that the button WAS indeed rendered but it it is rendered BEHIND the nav bar.. Like so:

Thats my code:
class ARightBtn extends React.Component {
render(){
return <Text style={{
width: 80,
position: 'absolute',
height: 120,
width: 200,
top: 50,
right:0,
padding: 8,
backgroundColor: 'red',
color: '#000000'
}}>RightBtnTest</Text>
}
}
and then I use it like so:
<Scene key="EmailSignIn" title="Sign In" type="push" hideNavBar={false} titleStyle={{color:Colors.mainTextColor}} renderRightButton={()=><ARightBtn/>} initial={true} >
<Scene key="EmailSignIn1" component={EmailSignIn} title="Sign In" navigationBarStyle={{backgroundColor:Colors.primaryColor}} renderRightButton={()=><ARightBtn/>} />
<Scene key="EmailSignIn2" component={Onboarding} title="Sign In"/>
</Scene>
What can I do @aksonov ?
Metadata
Metadata
Assignees
Labels
No labels