downshift version: 1.4.0
node version: N/A
npm (or yarn) version: N/A
Reproduction repository:
https://olrv026pz6.codesandbox.io/
Problem description:
Using the example from the Usage page:
- Place the focus on the input element
- Type "app"; the drop down list will show a single element, "apple"
- Click the drop down item, or press
Enter to select the "apple" item
- Highlight "apple" in the input field.
At this point, I would expect that hitting Backspace to clear the selection and then using the mouse, hitting Enter, or pressing Tab to leave the input field would clear the value.
However, at this point, the field populates itself with "apple".
My expectation is that the selection would be cleared out given one of those actions.
downshiftversion: 1.4.0nodeversion: N/Anpm(oryarn) version: N/AReproduction repository:
https://olrv026pz6.codesandbox.io/
Problem description:
Using the example from the Usage page:
Enterto select the "apple" itemAt this point, I would expect that hitting
Backspaceto clear the selection and then using the mouse, hittingEnter, or pressingTabto leave the input field would clear the value.However, at this point, the field populates itself with "apple".
My expectation is that the selection would be cleared out given one of those actions.