From 8c8b9c20824d1415115286361102dc61335d5072 Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Wed, 25 Jun 2025 15:25:01 +0530 Subject: [PATCH 1/3] fix loading indicator position. Signed-off-by: krishna2323 --- .../TextInput/BaseTextInput/implementation/index.native.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TextInput/BaseTextInput/implementation/index.native.tsx b/src/components/TextInput/BaseTextInput/implementation/index.native.tsx index 41da14d6a3f12..a5369855cccc7 100644 --- a/src/components/TextInput/BaseTextInput/implementation/index.native.tsx +++ b/src/components/TextInput/BaseTextInput/implementation/index.native.tsx @@ -444,7 +444,7 @@ function BaseTextInput( style={[ StyleUtils.getTextInputIconContainerStyles(hasLabel, false), styles.ml1, - styles.justifyContentStart, + styles.justifyContentCenter, loadingSpinnerStyle, StyleUtils.getOpacityStyle(inputProps.isLoading ? 1 : 0), ]} From 70fc9f1b2cf23694e55518d261b7075c79ccbc56 Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Thu, 26 Jun 2025 17:47:51 +0530 Subject: [PATCH 2/3] fix spacing. Signed-off-by: krishna2323 --- src/components/Search/SearchAutocompleteInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Search/SearchAutocompleteInput.tsx b/src/components/Search/SearchAutocompleteInput.tsx index 2937cc830902a..771b839ab4d23 100644 --- a/src/components/Search/SearchAutocompleteInput.tsx +++ b/src/components/Search/SearchAutocompleteInput.tsx @@ -208,7 +208,7 @@ function SearchAutocompleteInput( onChangeText={onSearchQueryChange} autoFocus={autoFocus} caretHidden={caretHidden} - loadingSpinnerStyle={[styles.mt0, styles.mr2]} + loadingSpinnerStyle={[styles.mt0, styles.mr0]} role={CONST.ROLE.PRESENTATION} placeholder={translate('search.searchPlaceholder')} autoCapitalize="none" From e36300de578fb39e3dc1a102a1cdfda5c710fd4d Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Fri, 27 Jun 2025 12:26:20 +0530 Subject: [PATCH 3/3] fix loading indicator style issue on start chat page. Signed-off-by: krishna2323 --- src/components/Search/SearchAutocompleteInput.tsx | 2 +- .../TextInput/BaseTextInput/implementation/index.native.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Search/SearchAutocompleteInput.tsx b/src/components/Search/SearchAutocompleteInput.tsx index 771b839ab4d23..25240d4d4a2fe 100644 --- a/src/components/Search/SearchAutocompleteInput.tsx +++ b/src/components/Search/SearchAutocompleteInput.tsx @@ -208,7 +208,7 @@ function SearchAutocompleteInput( onChangeText={onSearchQueryChange} autoFocus={autoFocus} caretHidden={caretHidden} - loadingSpinnerStyle={[styles.mt0, styles.mr0]} + loadingSpinnerStyle={[styles.mt0, styles.mr0, styles.justifyContentCenter]} role={CONST.ROLE.PRESENTATION} placeholder={translate('search.searchPlaceholder')} autoCapitalize="none" diff --git a/src/components/TextInput/BaseTextInput/implementation/index.native.tsx b/src/components/TextInput/BaseTextInput/implementation/index.native.tsx index a5369855cccc7..41da14d6a3f12 100644 --- a/src/components/TextInput/BaseTextInput/implementation/index.native.tsx +++ b/src/components/TextInput/BaseTextInput/implementation/index.native.tsx @@ -444,7 +444,7 @@ function BaseTextInput( style={[ StyleUtils.getTextInputIconContainerStyles(hasLabel, false), styles.ml1, - styles.justifyContentCenter, + styles.justifyContentStart, loadingSpinnerStyle, StyleUtils.getOpacityStyle(inputProps.isLoading ? 1 : 0), ]}