Skip to content

Table: TableGrowing with Sticky Header does not work initially #13352

@Orangen

Description

@Orangen

Describe the bug

When a table with a sticky header is used growing on scroll does not work as expected.
On scroll the onLoadMore callback is not triggered.

According to the documentation, a fixed table height is required for this setup. However, when a height is set, the TableGrowing feature does not work initially.
After clicking "more” 3–5 times, growing starts working as expected.

Isolated Example

https://stackblitz.com/edit/github-jb2l25yv?file=src%2FApp.tsx

Reproduction steps

  1. Get Table with fixed height and <TableGrowing onLoadMore={onLoadMore} mode="Scroll" />
  2. Scroll table
  3. no reload is triggered.

Expected Behaviour

Reload should be triggered without clicking the "more" button.

Screenshots or Videos

No response

UI5 Web Components for React Version

2.20.1

UI5 Web Components Version

2.20.2

Browser

Chrome

Operating System

Windows

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions