Skip to content

Collection is not built when React.Activity is set to visible the first time #9173

@ali-idrizi

Description

@ali-idrizi

Provide a general summary of the issue here

I was trying out the new <React.Activity> and came across an issue with collections not rendering anything the first time the mode is set to visible from hidden. Here's a screen recording of the issue:

2025-11-12.09-48-03.mp4

Also tried with @react-aria/collections version 3.0.0-nightly-2485ffa1b-251111, and the issue is present.

🤔 Expected Behavior?

The collection should be correctly built when the mode is set to visible.

😯 Current Behavior

The first time the mode is set to visible nothing is rendered and the collection.size is 0.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

Here's a super minimal reproduction https://codesandbox.io/p/devbox/zen-platform-tjfns7

Version

3.0.0

What browsers are you seeing the problem on?

Firefox, Chrome

If other, please specify.

No response

What operating system are you using?

N/A

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions