Anime: Cannot read property 'end' of undefined

Created on 26 Oct 2017  路  8Comments  路  Source: juliangarnier/anime

I've been trying to animate some personal work but im stumbling with these errors.

image

Could it be a conflict with my scripts?

Most helpful comment

I'm getting the samer error when using visibility: 'visible'

All 8 comments

Can you post an example? Seems like the error is originating from animations.js.

Here you go

image

I was having this issue also - I think it is related to using css word-colors like "red" on ln27 of your example.
The unminified error:
image
"tweens" from "normalizeTweens" function in anime.js is undefined

@ChristopherSant, I believe @jeffcato is right. Try using a hex code instead for colors (e.g., #FF0000).

I'm getting this same error when trying to use it with textDecoration: 'underline'.

I'm getting the samer error when using visibility: 'visible'

@marko-mlinarevic : Same here.

visibility: 'visible'

undefined is not an object (evaluating 'd[d.length-1].end')

'visible', 'underline' are not valid values since they don't contain any number, and anime only accepts hex, rgb, rgba, hsl and hsla color values, no color names like 'red'.

visibility can be replaced by opacity.
Not sure about text-decoration, by maybe border-bottom?
And of course red can be replaced by #F00.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrgnou picture mrgnou  路  6Comments

dpw1 picture dpw1  路  4Comments

davidhellmann picture davidhellmann  路  3Comments

gaou-piou picture gaou-piou  路  3Comments

edenprojectde picture edenprojectde  路  5Comments