When does itemToString receive `null` as its argument?
In the downshift typings, itemToString's type signature is (item: Item | null) => string. https://github.com/downshift-js/downshift/blob/a6bcd2247f4757b9a6c4077fdd9cf07554049054/typings/index.d.ts#L37 When would it be passed null and why? Thanks!
Downshift Hooks - first one
Hey everyone. I just released a dropdown selection hook via https://github.com/silviuavram/downshift-hooks. The library aims to have 4 dedicated hooks for all dropdown widgets: selection, search, multiple selection and multiple search. Since their design patterns vary from each…
Pressing enter clears all instances of Downshift
I'm having the most bizarre behavior when I have two instances of downshift rendering on a page. When you select an item in one, and then move to another instance and hit enter when there's no match, it clears both components. Here's a gif of what I mean: Does anyone have any…
Multiple dropdown lists
Hi everyone, I am wondering whether it is a valid use case to render multiple independently dropdown lists inside a downshift component. I want to jump between the lists and safe the current highlightedIndex. I didn't find an example for that and tried this ->…
How to allow input to keep values not matching an item
First off, I am loving downshift! I'm having trouble figuring out how to allow the input to maintain a value onBlur that doesn't match any of the available items. Essentially I'm trying to build an autocomplete control that suggests autocomplete values, but which doesn't…