diff --git a/CHANGELOG.md b/CHANGELOG.md index b5d464e6f1a..9bb6790a1c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [next] +- fix(): compositionEnd event handler is not registered correctly. (regression from f91362c ) [#9610](https://github.com/fabricjs/fabric.js/pull/9610) - ci(): Add a test case from the multiple selection use case for groups [#9599](https://github.com/fabricjs/fabric.js/pull/9599) - refactor(env): Change the way the environment and retina are initialized [#9480](https://github.com/fabricjs/fabric.js/pull/9480) - chore(TS): fix type of modifed event that could cause unexpected behaviour in dev code [#9596](https://github.com/fabricjs/fabric.js/pull/9596) diff --git a/src/shapes/IText/ITextKeyBehavior.ts b/src/shapes/IText/ITextKeyBehavior.ts index 1549c0650c7..e09f9bcf3c3 100644 --- a/src/shapes/IText/ITextKeyBehavior.ts +++ b/src/shapes/IText/ITextKeyBehavior.ts @@ -90,7 +90,7 @@ export abstract class ITextKeyBehavior< paste: 'paste', compositionstart: 'onCompositionStart', compositionupdate: 'onCompositionUpdate', - onCompositionUpdate: 'onCompositionEnd', + compositionend: 'onCompositionEnd', } as Record).map(([eventName, handler]) => textarea.addEventListener( eventName,