Skip to content

[RAC] App freezes when mounting disabled table rows after selection #7586

Open
@levrik

Description

Provide a general summary of the issue here

The app freezes completely when swapping table rows by disabled ones with different key.

🤔 Expected Behavior?

The app should not freeze.

😯 Current Behavior

The app freezes.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

https://codesandbox.io/p/sandbox/fervent-architecture-6g96p6

  1. Select 1 or more rows
    • You must not select the 1st row only
    • Ensure the blue focus outline appears on the row (it sometimes does not in Chromium-based browsers likely due to the iframe, native :focus has same issues)
  2. Click "Toggle" button to swap out rows
  3. App freezes

Remove isDisabled from all loading rows in code and try again. It does not freeze anymore.

React.Aria.Table.Row.Freeze.mp4

Version

1.5.0

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

If other, please specify.

No response

What operating system are you using?

macOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • Status

      🩺 To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions