3 ms·
Hm, I think we might have just misunderstood each other. I originally thought you meant it was impossible to fix the cursor position after it was messed up. So
by Zarel 8y ago
Hm, I think we might have just misunderstood each other.
I originally thought you meant it was impossible to fix the cursor position after it was messed up. So I was just saying it _was_ possible:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputEl...
(Which _can_ be done seamlessly while the user is typing.)
So everything since then felt like moving the goalposts. But I think in the end that was just a misinterpretation.
I mean, I do also disagree that it's impossible to do well, but in hindsight that's not really something I want to argue about further.