Skip to content

[EuiInMemoryTable] Pagination state does not update when props change #3231

@i-a-n

Description

@i-a-n

Updating the pagination prop on EuiInMemoryTable doesn't render expected pagination output. For instance, updating from pagination={false} to pagination={true} (without a re-mount) will render a buggy state where Rows per page: 1:

Screen Shot 2020-04-02 at 11 58 52 AM

According to @thompsongl :

It doesn't appear that EuiInMemoryTable will update pagination state when changes to pagination props occur. It does so once on mount and it will do so when table items change, but not on direct prop updates.

So, here's an issue for tracking. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions