Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new option infiniteScroll auto-scroll back to top #224

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Feb 21, 2024

  • when reaching the end of the list, it will automatically reset it back to the top of the list
  • the scroll can also be activated by using arrow down (highlight) to scroll 1 item at a time
  • this is not to be confused with Virtual Scroll which is similar but only renders a subset of large collection until we reach the end at which point it will stop, however the infinite scroll never stops (at least not until the user stops scrolling)
  • note: it only works while scrolling down not scrolling up

brave_pYflUNfZRD

- when reaching the end of the list, it will automatically reset it back to the top of the list
- the scroll can also be activated by using arrow down (highlight) to scroll 1 item at a time
- this is not to be confused with Virtual Scroll which is similar but only renders a subset of large collection until we reach the end at which point it will stop, however the infinite scroll never stops (at least not until the user stops scrolling)
Copy link

stackblitz bot commented Feb 21, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

Playwright E2E Test Results

72 tests  +1   72 ✅ +1   2m 6s ⏱️ +13s
64 suites +1    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit c164801. ± Comparison against base commit 764aedc.

@ghiscoding ghiscoding merged commit fb74e74 into main Feb 21, 2024
3 checks passed
@ghiscoding ghiscoding deleted the feat/infinite-scroll branch February 21, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant