Skip to content

Conditional JSX stays hidden after an async branch is cancelled #3456

Description

@GabbeV

Describe the bug

Switching away from a pending async branch leaves the panel displaying "hidden", even after all async work finishes and count() displays 2.

Removing async from selected avoids the issue.

Your Example Website or App

https://s.olid.uk/id/rBKUu262Tm2wuvqomN-GUA

Steps to Reproduce the Bug or Issue

  1. Wait for initialization.
  2. Click Run.
  3. Wait for the async work to finish. Count shows 2, but Panel stays "hidden".

Expected behavior

Panel should show 0.

Screenshots or Videos

No response

Platform

Verified with compiled JSX in jsdom, in development and production builds.

Additional context

Reproduces on next at d80cd1f, including the merged fixes in #3371 and #3439. Might be related to their pending-recovery or conditional-dependency handling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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