Skip to content

<Transition> element exits without animating when content is changed with setState聽#874

Closed

Description

@jelacs

馃 Question

Reposting my question as it has been closed without being solved.
I'm trying to create a list of expandable and collapsible items whose content comes from a single property in component state. The content is supposed to unmount on collapse as it is first removed from state. Animation works perfectly when entering but upon exit animation it just disappears (if expanded item is clicked to collapse) or is updated with the new state (if another item is clicked).
I could not post actual code but I tried to replicate the issue in this project.

I tried asking on StackOverflow but no luck. I hope someone here could help me find a solution. TIA!

Activity

  1. locked and limited conversation to collaborators on Mar 18, 2021
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