Matthew Goldberg

Results 4 comments of Matthew Goldberg

Sure thing, thanks for confirming. I'll look into it.

Thank you @chasestarr that makes sense. It also happens in plain HTML the cursor will be at the end if you set the value using script `input.value = 'something'` instead...

@mmarkelov I think this will be hard to write a test, it seems `jsdom` is showing that the `selectionStart` is `0` even though in the browser the same code shows...

OK the `jsdom` issue is now fixed: https://github.com/jsdom/jsdom/pull/2799 When that is released we can upgrade the `jsdom` version to pick up the fix, and re-implement the test which should now...