Skip to content

UI Pack with shim: Uncaught TypeError: Cannot set property 'display' of undefined #249

Closed
@fattenap

Description

@fattenap

I'm currently using the shim with the UI Pack in Chrome. Whenever I transitionOut an element
eg. Velocity(rawElement, "transition.slideDownOut");

I receive an Uncaught TypeError: Cannot set property 'display' of undefined error.

I don't receive an error if I pass in a PropertiesMap

Velocity(rawElement, {opacity: [ 0, 1 ], translateY: 20, translateZ: 0 }, displayOutOpts)
  .then(function(elements){
    Velocity(elements, { translateY: 0 });
    return elements;
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions