timdream / jszhuyin

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

Error: JSZhuyinCandidateMetadata: Inexistent or outdated candidate. #31

Closed timdream closed 8 years ago

timdream commented 8 years ago

STR:

  1. type a long string without confirm it
  2. Press and hold Shift+2
timdream commented 8 years ago

This happens because we select the same candidate twice. The key repeats is simply quicker than the worker. I don't really know the right approach here because I don't want to drop inputs just because it happens too quickly.

I wonder if we could queue the vanilla key strokes on the client so the key repeat would ended up confirming the next set of candidates.