Skip to content

Visible row height changes when using dynamic heights #227

@hirviid

Description

@hirviid

We have a collapsible grid with 2 different heights. But because react-base-table either uses the same height for all rows, or recalculates the heights dynamically, we have this "jumping" effect when opening a parent item:

802ee5884f10c2d8efca618f44b606af (1)

In react-window, the rowHeight prop can be a function. I think something similar in react-base-table might solve that strange effect because we know all the heights up front. We don't really need dynamic heights, just variable heights.

Is there a way we can prevent this "jumping" effect?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions