Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -655,7 +655,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -1196,7 +1196,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#D2D6D8",
Expand Down Expand Up @@ -1562,7 +1562,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -1793,7 +1793,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -2158,7 +2158,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -2473,7 +2473,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -3039,7 +3039,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -3383,7 +3383,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -3818,7 +3818,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -4248,7 +4248,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -4575,7 +4575,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -4882,7 +4882,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -5203,7 +5203,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -5942,7 +5942,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -6242,7 +6242,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -6571,7 +6571,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -6946,7 +6946,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -7226,7 +7226,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -7481,7 +7481,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down Expand Up @@ -7752,7 +7752,7 @@ exports[`TextField Screen renders screen 1`] = `
"flexGrow": 1,
"paddingBottom": 0,
"paddingTop": 0,
"textAlign": "left",
"textAlign": undefined,
},
{
"color": "#20303C",
Expand Down
2 changes: 1 addition & 1 deletion src/components/textField/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Input = ({
const styles = StyleSheet.create({
input: {
flexGrow: 1,
textAlign: Constants.isRTL ? 'right' : 'left',
textAlign: Constants.isRTL ? 'right' : undefined,
// Setting paddingTop/Bottom separately fix height issues on iOS with multiline
paddingTop: 0,
paddingBottom: 0,
Expand Down