@davidpmccormick wrote:
I’m trying to animate a component into view by setting an ‘isActive’ property to
true
in the didRender() method, and watching for isActive in the component’s classNameBindings, then adding a class which, combined with a css transition, should move the component into the viewport.The problem is that the class seems to have been added precisely at-the-time the component was rendered, so the transition doesn’t occur (the component is rendered already at its final location). Is there a better way to achieve what I want than sticking it in a setTimeout?
Posts: 1
Participants: 1