Skip to content
New issue

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

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

Already on GitHub? # to your account

Investigate potential solution to pass in additional options for scroll behaviour. #3071

Open
christophstrobl opened this issue Apr 2, 2024 · 0 comments
Labels
status: pending-design-work Needs design work before any code can be developed type: enhancement A general enhancement

Comments

@christophstrobl
Copy link
Member

In its current implementation scrolling is exclusive by default. This means any given position that is not Position#isInitial() will not be included in the result no matter which direction the scroll happens.

Going forward we should provide a concept similar to what we have with Pageable & PageRequest for scrolling to cover the following needs:

  • Express in-/exclusion of a given ScrollPosition in the result.
  • Express scroll direction (forward, backward)

The inclusion case for keyset based scrolling can be handled by adding another or with the present keyset and an equals comparison.

Related to: #3070

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
status: pending-design-work Needs design work before any code can be developed type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant