timdream / jszhuyin

JS 注音:JavaScript 自動選字注音輸入法;"Smart" Chinese Zhuyin Input Method in JavaScript.
https://jszhuyin.timdream.org/
MIT License
224 stars 18 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.