Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

next is not a function #252

@jamesarosen

Description

@jamesarosen

We have a <VelocityTransitionGroup> as follows:

<VelocityTransitionGroup
  enter={{
    animation: 'fadeIn',
    display: 'flex',
    duration: 150,
    delay: 0,
  }}
  leave={{
    animation: 'fadeOut',
    duration: 150,
    delay: 90,
  }}
></VelocityTransitionGroup>

In certain circumstances -- I'm not sure exactly, but it might be when we've unmounted the parent component before the animation finishes -- we get an exception here in velocity.js (v1.5.2). That next is from $.queue. Nothing in the $.queue docs suggest that next will ever be null.

This may be a bug for jQuery or Velocity or may be a problem with how we're using the code; please let me know if you think I should file this elsewhere.

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