@devries-cameron20 / t3code-1 / commits / 87ea18cad9
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(mobile): describe when composer view commands can reject (#25516)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 26, 2026 at 07:30 UTC 87ea18cad91fa246f66e65acd00fe99aa733c14e
2 files changed +6 -4
apps/mobile/src/native/T3ComposerEditor.ios.tsx
+3 -2
@@ -111,8 +111,9 @@ interface NativeComposerEditorProps extends ViewProps {
111
112 const NativeView = requireNativeView<NativeComposerEditorProps>(NATIVE_MODULE_NAME);
113
114 -// Fabric does not mount a `display: none` subtree, so a command sent while the composer slot is
115 -// hidden (an open question) rejects with "Unable to find the view". There is nothing to act on.
114 +// A view command rejects with "Unable to find the view" when the composer's native view is
115 +// unmounted, which can happen while an open question hides the composer slot. There is nothing
116 +// to act on then.
117 function settleViewCommand(command: Promise<void> | undefined): void {
118 command?.catch(() => undefined);
119 }
apps/mobile/src/native/T3ComposerEditor.native.tsx
+3 -2
@@ -110,8 +110,9 @@ interface NativeComposerEditorProps extends ViewProps {
110
111 const NativeView = requireNativeView<NativeComposerEditorProps>(NATIVE_MODULE_NAME);
112
113 -// Fabric does not mount a `display: none` subtree, so a command sent while the composer slot is
114 -// hidden (an open question) rejects with "Unable to find the view". There is nothing to act on.
113 +// A view command rejects with "Unable to find the view" when the composer's native view is
114 +// unmounted, which can happen while an open question hides the composer slot. There is nothing
115 +// to act on then.
116 function settleViewCommand(command: Promise<void> | undefined): void {
117 command?.catch(() => undefined);
118 }