Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

search results infinite scroll #20

Closed
wants to merge 3 commits into from
Closed

search results infinite scroll #20

wants to merge 3 commits into from

Conversation

buritos
Copy link

@buritos buritos commented Feb 26, 2017

#17 search results infinite scroll

  • moved SearchResults into separate file
  • added react-waypoint to detect scroll to the end of the results page
  • added limit and gt parameters to Client
  • added limit prop and default value to PackageSearch
  • handle append of paging results instead of replacing in PackageSearch#runSearch
  • clear paging state in PackageSearch#componentWillReceiveProps
  • implement end of page callback
  • added results length check in SearchResultsModules#shouldComponentUpdate
  • moved results count after search results

* added react-waypoint to detect scroll to the end of the results page
* added limit and gt paramteres to Client
* added limit prop and default value to PackageSearch
* handle append of paging results instead of replace in PackageSearch#runSearch
* clear paging state in PackageSearch#componentWillReceiveProps
* implement end of page callback
* added results length check in SearchResultsModules#shouldComponentUpdate
* moved results count after search results
@buritos buritos closed this Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant