3 ms·
It's probably either trimming the string, or the dom is collapsing the spaces to a single space (as is standard). It's possible to fetch the cursor position in
by samwillis 4y ago
It's probably either trimming the string, or the dom is collapsing the spaces to a single space (as is standard).
It's possible to fetch the cursor position in the input.