When you select multiple letters of your input and then just click to place the caret, the selection disappears as expected but pressing a button of a keyboard act like the selection is still there.
If you select "abc" and then click after the "c", pressing "d" will replace "abc" instead of just adding the "d".
Really nice project by the way!
I believe this is a Chromium bug. The mouse up event that is fired when we click to unselect the text has the wrong
If you can repo the issue, it might be worth reporting to https://bugs.chromium.org/p/chromium/issues/list.
(Update: I don't see this issue in Firefox, so it most definitely is a Chromium bug.)
|Issue Title||Created Date||Updated Date|