Skip to content

Releases: moroshko/react-autosuggest

v5.1.0

18 Aug 05:57
Compare
Choose a tag to compare
  • Focused suggestion is now provided onBlur. See docs.
  • Fixed the broken focusInputOnSuggestionClick={false} functionality

v5.0.2

15 Aug 13:23
Compare
Choose a tag to compare

Fixed #190

v5.0.1

12 Aug 12:22
Compare
Choose a tag to compare

Fixed #199

v5.0.0

11 Aug 01:31
Compare
Choose a tag to compare

The DOM structure changed a bit:

BEFORE:

suggestionsContainer existed in the DOM only when suggestions existed.

screen shot 2016-08-10 at 2 30 56 pm

AFTER:

Now, suggestionsContainer always exists in the DOM.
This is useful when the suggestionsContainer has a scroll bar, and you want to bind certain events to it.

screen shot 2016-08-10 at 2 35 01 pm

Consequently, theme.sectionSuggestionsContainer was removed in favor of the new theme.suggestionsList.

Fixed focused item visibility when multiSection={true}.

Added aria-haspopup attribute to the input.

Added renderSuggestionsContainer prop. It can help controlling the scrolling behaviour of the suggestions container.

v4.0.0

08 Aug 01:57
Compare
Choose a tag to compare
  • Added alwaysRenderSuggestions prop
  • Rendering performance optimizations
  • Breaking change: renderSuggestion signature changed from:
function renderSuggestion(suggestion, { value, valueBeforeUpDown })

to:

function renderSuggestion(suggestion, { query })

See docs

v3.9.0

24 Jul 02:58
Compare
Choose a tag to compare

Optimized rendering performance - renderSuggestion is called now only when necessary

v3.8.0

13 Jul 13:40
Compare
Choose a tag to compare

Now you can automatically highlight the first suggestion using focusFirstSuggestion={true}

v3.7.4

24 May 10:28
Compare
Choose a tag to compare
  • Now we hide suggestions when Enter is pressed and there is no focused suggestion
  • Fixes issue with Radium by providing a unique key to all themeable elements

v3.7.3

21 Apr 11:56
Compare
Choose a tag to compare

Fixed #146

v3.7.2

21 Apr 10:33
Compare
Choose a tag to compare

Allow React 0.14.7 or above in peerDependencies