Skip to content

Minor bug: Two default features are lost when OnSelect is specified #235

@lveillard

Description

@lveillard

When adding the following params:

              selected={selected}
              onSelect={(selected) => setSelected(selected)}

We lose two features that are default when we don't override this:

  1. Shift + Click: We lose the shift + click feature to select a group of cells. Shift clicking a end cell will just select it and deselect the old selection

  2. Deselect on defocus: Whenever we click outside of the table the blue of the selected cells disappear. This is not the case when overriding onSelect. Would be awesome to have those features by default also in this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions