node-huxley
node-huxley copied to clipboard
Chrome doesn't put the cursor at the right place when clicking on an input
Known issue. Noted here: https://github.com/chenglou/node-huxley/blob/bb8f1f2a84bdab69388dbd6089d42545362a1ea0/playback.js#L67
One way to solve this is to revamp the whole input paradigm: instead of tracking the letters, the cursor position, the backspace keys and whatever, simply store the whole text each time and during playback, reset to that. This will also solve whatever copy pasting issue and all.