openfun / cunningham

🎨 The Open FUN Design System
https://openfun.github.io/cunningham/
MIT License
23 stars 2 forks source link

🐛(react) fix DataGrid selection checkbox rerendering #302

Closed NathanVss closed 8 months ago

NathanVss commented 8 months ago

Each time a row was select or unselect the checkbox was re-triggering its animation, which looked buggy.

Fixes #37

Before

https://github.com/openfun/cunningham/assets/9628870/c6772ace-dfff-4779-8ee9-301b692167aa

After

https://github.com/openfun/cunningham/assets/9628870/f0e67cf0-815f-4cad-9810-4fdaff0b56a1

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: c1adf6650c4525043fcb5bb32279a10c7b808933

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------------- | ----- | | @openfun/cunningham-react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR