-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference between iOS and Android #51
Comments
@MichaelCereda You just have to add a few change in "InputField.android.js" : see here : https://gist.github.com/pcrouillere/9cded78d2e32864df425e8874b802f61 |
oh. great.. would you mind to submit a pr? On Fri, Aug 19, 2016 at 10:07 AM pcrouillere [email protected]
|
Yes.. I bet that this is the goal of everyone ;) Which react native version are you using? |
I was in the wrong repo, I clearly need a break! |
lol, go get a coffee :) |
In iOS everything work but on Android the "right Icon" is not on the same line.. Do you know why ?
Here's my code :
<InputField ref='login' placeholder={I18n.t('mail')} returnKeyType={"next"} keyboardType={"email-address"} validationFucntion={this.props.validateLogin} iconRight={ <Icon name='ios-arrow-forward' size={30} style={[ {alignSelf:'center',marginRight:10, color: "#61d062"}, ((self) => { if (!!(self.refs.loginForm && self.refs.loginForm.refs.login)) { if (!self.refs.loginForm.refs.login.valid) return {color: '#d52222'} } })(this)]} /> } onEndEditing={() => { this.props.validateLogin(); this.refs.loginForm.refs.pwd.focus() }} />
The text was updated successfully, but these errors were encountered: