Releases: moroshko/react-autosuggest
Releases · moroshko/react-autosuggest
v5.1.0
v5.0.2
v5.0.1
v5.0.0
The DOM structure changed a bit:
BEFORE:
suggestionsContainer
existed in the DOM only when suggestions existed.
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.
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
- Added alwaysRenderSuggestions prop
- Rendering performance optimizations
- Breaking change:
renderSuggestion
signature changed from:
function renderSuggestion(suggestion, { value, valueBeforeUpDown })
to:
function renderSuggestion(suggestion, { query })
See docs