Skip to content

Missing key when using rc-animate #615

@dignifiedquire

Description

@dignifiedquire

It seems there is some difference between React and Preact when using rc-animate. It seems similar to #155 but still appears in the latest version.

I have been using https://github.com/react-component/collapse without issues (following the simple example in the readme) with React, but when switching over to Preact I get the following error thrown

screen shot 2017-03-29 at 23 43 17

screen shot 2017-03-29 at 23 44 16

The key is not explicitly set here it seems: https://github.com/react-component/collapse/blob/master/src/Panel.jsx#L63 but I am guessing for single elements React sets the key automatically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions