Skip to content

fix(XSender): upgrade x-sender to 1.4.3 to fix IME input bugs - #496

Open
stevenwangking wants to merge 1 commit into
element-plus-x:mainfrom
stevenwangking:fix/upgrade-x-sender-for-pr
Open

fix(XSender): upgrade x-sender to 1.4.3 to fix IME input bugs#496
stevenwangking wants to merge 1 commit into
element-plus-x:mainfrom
stevenwangking:fix/upgrade-x-sender-for-pr

Conversation

@stevenwangking

Copy link
Copy Markdown

🐛 Bug Fix

Upgrade x-sender from 1.3.3 to 1.4.3 to fix critical IME (Input Method Editor) bugs that affect Chinese/Japanese/Korean users.

🔗 Related Issues

  • #488 — iOS 无法输入中文
  • x-sender#45 — iOS 简体拼音快速输入导致输入框卡死
  • x-sender#44 — 中文输入法输出字母

📝 Problem Description

x-sender@1.3.3 does not handle compositionstart / compositionUpdate / compositionend events, causing:

  1. Chinese IME outputs latin letters — Pinyin letters are inserted as real text before word selection is confirmed
  2. iOS cannot input Chinese — After selecting a candidate word, no text appears in the input box
  3. iOS pinyin fast input freeze — Rapid typing triggers internal state errors, freezing the input completely

The fix (compositionUpdate handling) was introduced in x-sender@1.3.9. This PR upgrades to 1.4.3 (latest stable).

📋 Changes

  • packages/core/package.json: x-sender ^1.3.3 → ^1.4.3
  • pnpm-lock.yaml: updated accordingly

✅ API Compatibility

Verified that the API changes between 1.3.3 and 1.4.3 do NOT affect Element-Plus-X:

Change Type Used in EPX?
backspace?: boolean added to TipConfig Non-breaking (optional) -
EVENT_COMMON_SELECT_ACTIVEEVENT_COMMON_TAG_CLICK Breaking (internal event key) No
EVENT_COMMON_TAG_CLICK new export Non-breaking (new) No

Element-Plus-X only imports XSender default export and types (MentionConfig, TriggerConfig, SelectConfig, TipConfig, TagData, etc.) — none of which are affected.

🧪 Verification

  • Diffed npm tarball of x-sender@1.3.3 vs 1.4.3: only XSender.mjs changed (CSS and type declarations nearly identical)
  • Built vue-element-plus-x with new version: all components identical except dist/es/XSender/index.js (expected)
  • No TypeScript errors

📝 变更类型

  • 🐛 fix: 修复缺陷

x-sender 1.3.3 has critical IME (Input Method Editor) bugs that affect
Chinese/Japanese/Korean users. Upgrade to 1.4.3 which includes the
compositionUpdate fix introduced in 1.3.9.

Related issues:
- element-plus-x#488 (iOS cannot input Chinese)
- x-sender#45 (iOS pinyin fast input causes input freeze)
- x-sender#44 (Chinese IME outputs latin letters)
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 35bf968f-715a-4792-ad91-e46c6be16239

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant