From a05993e63b0bc2125cccc038a1c05e7b8ab2b468 Mon Sep 17 00:00:00 2001 From: Ethan Sharabi <1780255+ethanshar@users.noreply.github.com> Date: Wed, 9 Apr 2025 10:11:04 +0300 Subject: [PATCH 1/2] Fix issue with missing ellipsis --- src/components/textField/Input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/textField/Input.tsx b/src/components/textField/Input.tsx index ca49c70287..24ec38d9f0 100644 --- a/src/components/textField/Input.tsx +++ b/src/components/textField/Input.tsx @@ -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, From 264bf6b9cdb4d9c6d7c9800525b851c1a7099f2e Mon Sep 17 00:00:00 2001 From: Ethan Sharabi <1780255+ethanshar@users.noreply.github.com> Date: Wed, 9 Apr 2025 10:29:44 +0300 Subject: [PATCH 2/2] Fix TextField snapshot test --- .../TextFieldScreen.spec.js.snap | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap b/demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap index 6a9942c2a0..9de2e2fc5b 100644 --- a/demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap +++ b/demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap @@ -193,7 +193,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -655,7 +655,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -1196,7 +1196,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#D2D6D8", @@ -1562,7 +1562,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -1793,7 +1793,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -2158,7 +2158,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -2473,7 +2473,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -3039,7 +3039,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -3383,7 +3383,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -3818,7 +3818,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -4248,7 +4248,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -4575,7 +4575,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -4882,7 +4882,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -5203,7 +5203,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -5942,7 +5942,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -6242,7 +6242,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -6571,7 +6571,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -6946,7 +6946,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -7226,7 +7226,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -7481,7 +7481,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C", @@ -7752,7 +7752,7 @@ exports[`TextField Screen renders screen 1`] = ` "flexGrow": 1, "paddingBottom": 0, "paddingTop": 0, - "textAlign": "left", + "textAlign": undefined, }, { "color": "#20303C",