Skip to content

Commit

Permalink
fix(): compositionEnd event handler is not registered correctly. (reg…
Browse files Browse the repository at this point in the history
…ression from f91362c ) (#9610)
  • Loading branch information
xiaofeiniuuu authored Jan 20, 2024
1 parent ae5773c commit 25459f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/shapes/IText/ITextKeyBehavior.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export abstract class ITextKeyBehavior<
paste: 'paste',
compositionstart: 'onCompositionStart',
compositionupdate: 'onCompositionUpdate',
onCompositionUpdate: 'onCompositionEnd',
compositionend: 'onCompositionEnd',
} as Record<string, keyof this>).map(([eventName, handler]) =>
textarea.addEventListener(
eventName,
Expand Down

0 comments on commit 25459f6

Please sign in to comment.