作成日: 2026/05/22 最終更新日: 2026/05/22
文書種別
不具合
発生環境
5.20251.34でのみ発生
状況
修正済み
詳細
ComboBoxに日本語を入力し、変換候補選択中に続けて日本語を入力すると1文字目が入力されません。
例:「か」(ka)と入力すると「k」が入力されず、「あ」が入力される
例:「か」(ka)と入力すると「k」が入力されず、「あ」が入力される
回避方法
この問題はバージョン5.20251.40で修正されました。
修正版を適用しない場合の回避方法は次の通りです。
以下コードを追加します。(PureJS)
import { getVersion } from '@mescius/wijmo';
import { ComboBox } from '@mescius/wijmo.input';
export function applyComboBoxImeWorkaroundFor20251_34() {
if (getVersion() !== '5.20251.34') {
return;
}
const prototype = ComboBox.prototype;
if (prototype.__imeWorkaround20251_34) {
return;
}
prototype.__imeWorkaround20251_34 = true;
const originalInput = prototype['_input'];
prototype['_input'] = function () {
if (!this['_composing']) {
originalInput.call(this);
return;
}
if (this._draggingText) {
this._emptyValueAction = this.text === '';
}
this._setText(
this._textIsComposing !== ''
? (this._textIsComposing || '')
: this.text,
false
);
if (this.text !== '') {
this._emptyValueAction = false;
}
this._draggingText = false;
};
}
applyComboBoxImeWorkaroundFor20251_34();