Skip to content

TableView in Dialog onLoadMore triggered multiple times on dialog open #2822

Open
@CezCz

Description

@CezCz

🐛 Bug Report

When opening a dialog, the embedded TableView will invoke "loadMore" function several times.
https://codesandbox.io/s/brave-merkle-uji7e?file=/src/App.tsx

🤔 Expected Behavior

loadMore is invoked only when needed

🔦 Context

I am integrating @quarry/inventory container into a dialog, I have quite a heavy loadMore function which is being triggered indefinitely making my app go non-responsive.

🧢 Your Company/Team

AEM Sites/Odin

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