Samsung keyboards when inputting to text input fields reports an incorrect range selection on first entry: {start: 0, end: 1}. This value gets passed through restricted input, and maintained during formatting. The result is the selection highlighting the first character of entry.
This proposal is to always reset the selection range after formatting to the formatted selection end.
Problem reported here: https://github.com/braintree/braintree-web/issues/245
Samsung keyboards when inputting to text input fields reports an incorrect range selection on first entry:
{start: 0, end: 1}
. This value gets passed through restricted input, and maintained during formatting. The result is the selection highlighting the first character of entry.This proposal is to always reset the selection range after formatting to the formatted selection end.
Tested this on: