[fix] Firefox UI for numeric TextInput

Fix #900
This commit is contained in:
Nicolas Gallagher
2018-04-19 11:48:31 -07:00
parent edc99e79eb
commit 96c3f09fac
2 changed files with 3 additions and 2 deletions

View File

@@ -103,5 +103,6 @@ StyleSheetValidation.addValidStylePropTypes({
pointerEvents: string,
tableLayout: string,
/* @private */
MozAppearance: string
MozAppearance: string,
WebkitAppearance: string
});

View File

@@ -408,7 +408,7 @@ class TextInput extends Component<*> {
const styles = StyleSheet.create({
initial: {
MozAppearance: 'textfield',
appearance: 'none',
WebkitAppearance: 'none',
backgroundColor: 'transparent',
borderColor: 'black',
borderRadius: 0,