Skip to content

Error when trying to apply animation using 'data-enami' in a parent element with children that have 'data-enami-animation' #11

Description

@JarisGV

Hello again @EnzoEmb

I'm still testing Enami library and created a quick page to try different usages. Everything looks so smooth and nice but there's an error when I try to apply the animations in the nav. I'd like to animate the base of the menu and then, the UL list inside it. But I guess I doing something wrong here. I tested in Chrome and Firefox and get the same result. But in the preview inside CodePen everything is fine.

When I inspect the page I noticed that the 'enami-in' data is forcing to be injected in the DOM but something happens and delays the animation for a long time.

I also noticed this error message related to the javascript file:

ead450e0-19d0-473a-ad91-f1ccb0bad0be

Here is the 'data-enami-in' in action:

chrome_n2JRUT62DO.mp4

And this is my Pen:

https://codepen.io/byJaris/pen/oNJxOPZ

Thank you again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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