Skip to content

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

Open
@christophstrobl

Description

@christophstrobl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions