Skip to content

FlatTable: Performance issue on re render #7657

@StylianosKoidakisSage

Description

@StylianosKoidakisSage

Description

When we select a checkbox of a table row , in a big table (300 lines +) that table takes too much time to be updated and that result to a slow "check" UX , especially you can find this issue when you click fast the checkbox

Reproduction

https://stackblitz.com/edit/parsium-carbon-starter-qgpdj4yx?file=src%2FApp.tsx

Steps to reproduce

Click fast the checkbox, slow down the cpu via chrome dev tools and check the render output

JIRA ticket numbers (Sage only)

No response

Suggested solution

No response

Carbon version

157.7.0

React version

v18, v17

Design tokens version

No response

Relevant browsers

Chrome

Relevant OSs

MacOS

Assistive technologies

No response

Additional context

No response

Confidentiality

  • I confirm there is no confidential or commercially sensitive information included.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions