Skip to content

v5.0.0

Compare
Choose a tag to compare
@moroshko moroshko released this 11 Aug 01:31
· 218 commits to master since this release

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.