React-native Text input color issue in full screen editing -
in react-native android app, same text box in portrait & landscape views. have used selectioncolor & underlinecolorandroid properties set font color.
<textinput selectioncolor={formelements.textinputselectioncolor} underlinecolorandroid={formelements.textinputselectioncolor} placeholder={"email address"} placeholdertextcolor={formelements.textinputplaceholdercolor} keyboardtype="email-address" value={this.props.email}/>
but issue in full screen edit (on landscape mode) it's hard read in white background.
so want either change make full screen edit background color or text color black on full screen.
i tried, couldn't find solution yet. cam please give me solution this?
this full screen popup doesn't come landscape mode. comes when ever there not enough space occupy keyboard.
there libs such react-native-orientation
https://github.com/yamill/react-native-orientation/ allow check if user changed screen orientation. possible apply different styles based on orientation.
however, scenario mentioned, don't think user friendly change colors depending on orientation. i'd recommend use standard color combination looks fine in resolution , orientations.
hope helps.
Comments
Post a Comment