Hey,
I recently noticed that if you were to mouse click and drag the text you just entered, you will be unable to overwrite that text by typing over it.
To be more specific:
testtestabcdtest remains and no text can be overwrittenThe codesandbox found in the "Custom options only, with validation" section can be used to replicate this problem.
You are able to overwrite the text if you used other means of highlighting the text, i.e. using crtl-a or double clicking the text
Took a bit of fiddling to find a reliable reproduction:
testThe problem is that the container div, with a tabindex={-1}:

provides the look & feel of the input, while the actual input element:

is much smaller. So the drag-to-highlight operation will, if the mouseup occurs _outside_ the combobox area, select multiple DOM nodes instead of singularly the input's value. In the video below:
https://user-images.githubusercontent.com/313125/108537010-574b1300-729a-11eb-81b5-e9c19385233f.mov
And logging document.getSelection() in the "broken" state yields:

Notice extentNode and focusNode are the proceeding h2 element, and type is _Range_. When only the text is selected, all of the values included are the selection are the input field, and the type is _Caret_.

I am working on this:) @chandlerprall @wenchonglee
I am not able to replicate it @chandlerprall Any sugessions?
(If this bug due to OS. I am using MacOS 10.15.3).
Instead of clicking at the very beginning of the text,

start in the extra white space to the left of the text and then drag outside of the combobox,

@chandlerprall Please review this.