You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My letter-holder-page and letter-detail-page share an element and have hero-animations to share the element. Is my use of animate-initial-selection correct? And if so, why do I get an error that says:
Uncaught TypeError: Cannot read property 'getAnimationConfig' of undefined
Bart
The text was updated successfully, but these errors were encountered:
I think you're using that property right (though i haven't used it myself). But the error you're seeing about getAnimationConfig probably indicates that <letter-holder-page> doesn't implement Polymer.NeonAnimatableBehavior Or one of the other behaviors that expose animationConfig. Can you verify that?
It does, it implements Polymer.NeonSharedElementAnimatableBehavior. Everything is working correctly without the animate-initial-selection. With, however, it doesn't.
Hello,
I am not sure how to use
animate-initial-selection
in the neon-animated-pages element.I have the following setup:
My
letter-holder-page
andletter-detail-page
share an element and have hero-animations to share the element. Is my use ofanimate-initial-selection
correct? And if so, why do I get an error that says:Bart
The text was updated successfully, but these errors were encountered: