handle same length case

This commit is contained in:
Ian K
2022-08-08 17:02:21 -05:00
parent 413a885b5e
commit 5312602692
+2
View File
@@ -196,6 +196,8 @@ export class CompositionHelper {
this._coreService.triggerDataEvent(diff, true);
} else if (newValue.length < oldValue.length) {
this._coreService.triggerDataEvent(`${C0.DEL}`, true);
} else if ((newValue.length === oldValue.length) && (newValue !== oldValue)) {
this._coreService.triggerDataEvent(newValue, true);
}
}