Skip to content

Is there a way to handle animation start\end events in my dropdown component? #28

@AndreyLuzinov

Description

@AndreyLuzinov

Hi, I'm using slide down with downshift react lib and it seems their properties dramatically slows down animation. I wonder if there is a way to catch animation start\finish events and make conditional properties set like {...(!isToggling && getMenuProps())}

<SlideDown> { isOpen && <ul {...getMenuProps()}> { props.data.map((item, index) => ( <li key={index} {...(getItemProps({item, index }))}>{item.label} </li> )) } </ul> } </SlideDown>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions