timdream / jszhuyin

JS 注音:JavaScript 自動選字注音輸入法;"Smart" Chinese Zhuyin Input Method in JavaScript.
https://jszhuyin.timdream.org/
MIT License
223 stars 19 forks source link

updatecomposition/endcomposition callback did not mirror DOM spec #34

Open timdream opened 8 years ago

timdream commented 8 years ago

endcomposition is like "commit string" and updatecomposition with '' is called when composition actually ends. This is unfortunate as I adopt the name of the DOM events but not the actual behaviors.

I wonder if we could fix this bug without making a breaking change.