mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-10 02:15:02 +00:00
Restore rewound prompts immediately on iOS (#3946)
* fix(app): restore rewound text atomically The native composer could consume a replacement revision before the matching draft-store value arrived, leaving the mounted input blank until remount. Carry the replacement text with its revision so scheduling order cannot split the command from its payload. * fix(app): isolate launch composer drafts Give chat and terminal launch composers separate React identities so each uncontrolled editor lifetime remains owned by its draft mode.
This commit is contained in:
@@ -439,7 +439,7 @@ export function WorkspaceSetupDialog() {
|
||||
blurOnSubmit={true}
|
||||
value={chatDraft.text}
|
||||
onChangeText={chatDraft.editText}
|
||||
textReplacementKey={chatDraft.textReplacementKey}
|
||||
textReplacement={chatDraft.textReplacement}
|
||||
attachments={chatDraft.attachments}
|
||||
onChangeAttachments={chatDraft.setAttachments}
|
||||
cwd={sourceDirectory}
|
||||
|
||||
Reference in New Issue
Block a user