diff --git a/apps/mobile/src/j5/agents/AgentCreateScreen.tsx b/apps/mobile/src/j5/agents/AgentCreateScreen.tsx index 63bfa611b113..4f7ec55219a2 100644 --- a/apps/mobile/src/j5/agents/AgentCreateScreen.tsx +++ b/apps/mobile/src/j5/agents/AgentCreateScreen.tsx @@ -164,7 +164,7 @@ export function AgentCreateScreen() { ({ id: harness.driver, title: harness.label, + // iOS shows each provider as a section, avoiding the submenu transition. + displayInline: true, attributes: { disabled: disabled || harness.models.length === 0, }, diff --git a/apps/mobile/src/j5/agents/AgentEditorScreen.tsx b/apps/mobile/src/j5/agents/AgentEditorScreen.tsx index 1771608ce63f..193024ddfea1 100644 --- a/apps/mobile/src/j5/agents/AgentEditorScreen.tsx +++ b/apps/mobile/src/j5/agents/AgentEditorScreen.tsx @@ -110,7 +110,7 @@ export function AgentEditorScreen() { state.isVisible); return ( {Platform.OS === "ios" ? ( @@ -120,20 +122,40 @@ export function SettingsFormScreen(props: { } /> ) : null} - + {/* iOS keeps upstream's scroll view, which registers with the native header and insets for the + keyboard; with it up, the home indicator area is already covered, so Save gets no extra + padding. Android has no header marker, so keyboard-controller's scroll view lets the form + scroll clear of the keyboard, as the Inbox does. */} + {Platform.OS === "ios" ? ( {props.children} - + ) : ( + + {props.children} + + )} ); }