diff --git a/apps/llm/app/llm/index.tsx b/apps/llm/app/llm/index.tsx index e6ee183ee..b46e43c13 100644 --- a/apps/llm/app/llm/index.tsx +++ b/apps/llm/app/llm/index.tsx @@ -97,7 +97,7 @@ function LLMScreen() { ? ColorPalette.blueDark : ColorPalette.blueLight, }} - placeholder="Your message" + placeholder={isTextInputFocused ? '' : 'Your message'} placeholderTextColor={'#C1C6E5'} multiline={true} ref={textInputRef} diff --git a/apps/llm/app/llm_structured_output/index.tsx b/apps/llm/app/llm_structured_output/index.tsx index 21bac1547..3fa230600 100644 --- a/apps/llm/app/llm_structured_output/index.tsx +++ b/apps/llm/app/llm_structured_output/index.tsx @@ -179,7 +179,11 @@ function LLMScreen() { ? ColorPalette.blueDark : ColorPalette.blueLight, }} - placeholder="Your message e.g. I'm John. Is this product damaged? I can give you $100 for this." + placeholder={ + isTextInputFocused + ? '' + : "Your message e.g. I'm John. Is this product damaged? I can give you $100 for this." + } placeholderTextColor={'#C1C6E5'} multiline={true} ref={textInputRef} diff --git a/apps/llm/app/llm_tool_calling/index.tsx b/apps/llm/app/llm_tool_calling/index.tsx index 62122d1b1..6fbf49f19 100644 --- a/apps/llm/app/llm_tool_calling/index.tsx +++ b/apps/llm/app/llm_tool_calling/index.tsx @@ -146,7 +146,7 @@ function LLMToolCallingScreen() { ? ColorPalette.blueDark : ColorPalette.blueLight, }} - placeholder="Your message" + placeholder={isTextInputFocused ? '' : 'Your message'} placeholderTextColor={'#C1C6E5'} multiline={true} ref={textInputRef}