github downshift-js/downshift v3.0.0

latest releases: v9.0.4, v9.0.3, v9.0.2...
5 years ago

3.0.0 (2018-10-08)

Bug Fixes

  • inputValue: always set inputValue properly (247b621), closes #512

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 with default, you probably want to change that to initial instead. defaultSelectedItem and defaultInputValue were also removed in favor of initialSelectedItem and initialInputValue (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

Don't miss a new downshift release

NewReleases is sending notifications on new releases.