Skip to content

CSS animation runs whenever the state changes. #122

@hanbin9775

Description

@hanbin9775

Bug report

Current behavior:
If you apply an animated style to iconArrow, the animation will continue to run whenever the state changes.

Expected behavior:
Users could want to add a custom animation style with the intent that the animation only occurs once (when pending -> pulling)

JSFiddle URL for demo with bug:
https://codesandbox.io/s/cranky-gates-ev74r4?file=/src/App.js

Browsers affected:
No dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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