Skip to content

Bug - [Card] - controlling card selection with isSelected prop doesn't work as expected #10136

Closed
@amirfefer

Description

@amirfefer

Describe the problem
Controlling a clickable card and with the isSelected prop for reseting selection from a state, seems not to work.

How do you reproduce the problem?
Click on a clickable card, control the isSelected and try to reset it from a state - code example codesandbox demonstrating the problem is appreciated.

Expected behavior
When isSelected is false, the card shouldn't render a selected style

Is this issue blocking you?
List the workaround if there is one.

Screenshots

Screen.Recording.2024-03-07.at.12.54.38.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions