From e5ecfcaeee79b2c14773d8fdaaafbaeb2e00bc72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20S=C5=82uszniak?= Date: Wed, 4 Feb 2026 14:29:39 +0100 Subject: [PATCH 1/2] fix: Remove placeholder on focus --- apps/llm/app/llm/index.tsx | 2 +- apps/llm/app/llm_structured_output/index.tsx | 6 +++++- apps/llm/app/llm_tool_calling/index.tsx | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) 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..b40c8e838 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 + ? '' + : "YYour 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} From 15688d6eb598d2a31c6b6c806c5728f416fb6448 Mon Sep 17 00:00:00 2001 From: Mateusz Sluszniak <56299341+msluszniak@users.noreply.github.com> Date: Wed, 4 Feb 2026 15:01:22 +0100 Subject: [PATCH 2/2] Update apps/llm/app/llm_structured_output/index.tsx --- apps/llm/app/llm_structured_output/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/llm/app/llm_structured_output/index.tsx b/apps/llm/app/llm_structured_output/index.tsx index b40c8e838..3fa230600 100644 --- a/apps/llm/app/llm_structured_output/index.tsx +++ b/apps/llm/app/llm_structured_output/index.tsx @@ -182,7 +182,7 @@ function LLMScreen() { placeholder={ isTextInputFocused ? '' - : "YYour message e.g. I'm John. Is this product damaged? I can give you $100 for this." + : "Your message e.g. I'm John. Is this product damaged? I can give you $100 for this." } placeholderTextColor={'#C1C6E5'} multiline={true}