Skip to content

TransitionGroup animates keyed shows before Suspense-Transition is done #38

@katywings

Description

@katywings

Is: Currently if a keyed <Show> is used inside of a <TransitionGroup>, and the Show value is suspense-transitioned with startTransition, the exit and enter animations will already run with old state before the Suspense-Transition is even done.

Should: Ideally the animations should only run after the Suspense-Transition.

Video:

Bildschirmaufzeichnung.vom.2023-07-13.19-18-20.mp4

Playground: https://stackblitz.com/edit/github-324i4c-ubu1bo?file=src%2FApp.tsx

Versions:
"solid-js": "^1.7.8",
"solid-transition-group": "0.2.2"

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