Skip to content

ui5-input has no way to check to load more items without scrolling #1902

Closed
@codefactor

Description

@codefactor

Describe the bug
The controller is taking user input and loading results from server, and once the first page of data is loaded it must check the container is scrolled to the bottom so it can load more items in case there are more; however, this is only possible today on a suggestion-scroll event. What ends up happening is people with large screens are stuck with only the first page and people with small screens can scroll and more pages are added.

Expected behavior
There should be some way to publicly get a handle on the scroll container element in the shadow dom so after inserting some data the controller can check if the container has a scroll and whether or not the scroll is at the bottom or not.

Context

  • UI5 Web Components version
  • OS/Platform: {...}
  • Browser (if relevant): {...}
  • Other information: {...}

Affected components (if known) input

Log output / Any errors in the console

{...}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions