Skip to content

Check for sameColumns in ColumnMetrics breaks Selectable Cell example #15

@malonecj

Description

@malonecj

In commit ba519b8 a check was added to prevent state from being reset if nextProps columns do not differ from previous ones.

This breaks the example listed here http://prometheusresearch.github.io/react-grid/examples/selectable-cells.html once you use the keyboard navigation to scroll past the current viewport height.

I guess this check should remain here as columnMetrics should be unaware of scroll height. Potentially, set the scrollTop in GridScrollMixin when this occurs so we can re-render grid?

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