3.0.0 (2018-10-08)
Bug Fixes
Features
- add ARIA specification of First and Last option highlight (#590) (d937119)
- initial:* add
initial*
props for all state (b4435d6), closes #467
BREAKING CHANGES
initial*
: If you're using any of the props that start withdefault
, you probably want to change that toinitial
instead.defaultSelectedItem
anddefaultInputValue
were also removed in favor ofinitialSelectedItem
andinitialInputValue
(respectively).inputValue
: if you control the selectedItem, we no longer set the inputValue to the defaultInputValue.highlightedIndex
: In compliance with the ARIA specification, downshift will now default to highlighting the first item when the user presses ⬇ and the last item when the user presses ⬆ (given the menu is closed). #590