node-huxley icon indicating copy to clipboard operation
node-huxley copied to clipboard

Chrome doesn't put the cursor at the right place when clicking on an input

Open chenglou opened this issue 11 years ago • 1 comments

Known issue. Noted here: https://github.com/chenglou/node-huxley/blob/bb8f1f2a84bdab69388dbd6089d42545362a1ea0/playback.js#L67

chenglou avatar Mar 01 '14 19:03 chenglou

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.

chenglou avatar Mar 02 '14 07:03 chenglou