You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Click "Toggle" button to swap out rows
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
The text was updated successfully, but these errors were encountered:
levrik
changed the title
[RAC] App freezes when mounting disabled table rows under certain conditions
[RAC] App freezes when mounting disabled table rows after selection
Jan 9, 2025
Thanks for catching this, took a little bit but it seems like the root of this issue is with how we try to find a new row to focus if the previously focused row doesn't exist anymore. Since every row is disabled in the new set of items this portion of the code keeps looping. Off the top of my head, we can probably break out of it by simply flagging when it hits the else a second time but it might be worthwhile adding a function to SelectionManager/Collection that informs us if every item in the collection has been disabled via applying isDisabled to each Row/Item
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
:focus
has same issues)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
The text was updated successfully, but these errors were encountered: