Skip to content

Bug with Transitions Show vs {cond && <Comp/>} #1781

@nzdeep

Description

@nzdeep

Describe the bug

Adding this here just so it doesn't get missed in 2.0 or 2.x milestone if we're beyond 2.0 planning already, understand things are hectic with transition to basing on Astro at the moment. This is bug with transitions where using {cond && } behaves differently Show, the first doesn't use a transition (thus showing Suspense fallback) whilst the later does. Verified by modderme123 on discord

https://playground.solidjs.com/anonymous/e189bc58-107e-4886-a1ff-bc3bda646afe

Your Example Website or App

https://playground.solidjs.com/anonymous/e189bc58-107e-4886-a1ff-bc3bda646afe

Steps to Reproduce the Bug or Issue

Run both variants

Expected behavior

Expect Suspense fallback to never show as wrapped in a Suspense and startTransition

Screenshots or Videos

No response

Platform

1.7.6

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions