4 ms·
The best solution would probably be to have the HTML input field not fire events for key down.
by amelius 10y ago
The best solution would probably be to have the HTML input field not fire events for key down.
- imagist 10y agoIt's fairly easy to create a div which behaves the same way as a HTML input field, and there are other ways. Ultimately I think you'd have to not fire key events, period.
- mjevans 10y agoAgreed, you'd have to fire string input rates, and defer the underlying update until either enough buffer has entered to warrant a mid-point sync, or input has paused for a decent length of time. (say 10s) For 'hardened' browsers I'd recommend a visual indication of this timeout (a pie chart which completes like a clock at a fixed rate while paused is the first concept that I think of).