Skip to content

Preserve connection capsules during IME composition - #93

Closed
tktm8 wants to merge 1 commit into
cloudflare:mainfrom
tktm8:agent/preserve-connection-capsules-during-ime
Closed

Preserve connection capsules during IME composition#93
tktm8 wants to merge 1 commit into
cloudflare:mainfrom
tktm8:agent/preserve-connection-capsules-during-ime

Conversation

@tktm8

@tktm8 tktm8 commented Aug 8, 2026

Copy link
Copy Markdown

Summary

  • keep provisional IME text rendered without running connection-capsule overlap bookkeeping
  • apply the committed edit once at composition end against the pre-composition value
  • prevent composer commands and submission while the key event is part of active composition

Root cause

Mobile Safari can emit controlled-textarea changes during IME composition with a stale selection range. Processing each provisional value as a normal edit can make the edit appear to overlap a structured Connection capsule, removing it from the composer.

User impact

Japanese and other IME users can confirm text conversion in iOS Safari without losing an attached Connection capsule.

Validation

  • pnpm --filter @gadgets/workshop-frontend build

Closes #92.
Related to #81.

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@tktm8

tktm8 commented Aug 8, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@tktm8
tktm8 force-pushed the agent/preserve-connection-capsules-during-ime branch from 168742b to 03b28b8 Compare August 8, 2026 14:10
@tktm8

tktm8 commented Aug 8, 2026

Copy link
Copy Markdown
Author

recheck

github-actions Bot added a commit that referenced this pull request Aug 8, 2026
@tktm8 tktm8 closed this Aug 8, 2026
@tktm8
tktm8 deleted the agent/preserve-connection-capsules-during-ime branch August 8, 2026 14:11
@tktm8

tktm8 commented Aug 8, 2026

Copy link
Copy Markdown
Author

Superseded by #94 after renaming the fork branch to fix/ios-ime-connection-capsules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Connection capsule disappears when confirming IME text on iOS Safari

1 participant