-
Couldn't load subscription status.
- Fork 401
Closed
Labels
Description
Version
3.4.1
Description
Pagination does not work properly when positionFixed or bodyContainer property is set to true.
Steps to reproduce
- Create the following component:
<Typeahead options=["a", "b", "c", "d", "e"] maxResults={3} paginate positionFixed>- Click on this autocomplete and try to click the bottom option (load more results)
Expected Behavior
More results are loaded
Actual Behavior
Autocomplete menu is hidden.
Further debugging shows that onPaginate callback is called if present.
Probably the same happens on selecting a regular value, but menu closing and calling onSelect is what the user wants in most cases.
My wild guess is that the reason is broken "click outside" handler which is called every time on menu item click when positionFixed is enabled