This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Yang Ziyi
Posted Aug 04 - Read on Facebook

Hi guys, I'm learning using classes in Framer, and trying to make a bar chart. Things puzzle me is that the graph always animates from the upper side rather than the bottom side. What could I do to fix this issue? Thanks!

1 Comments

Krijn Rijshouwer

Hey Yang Ziyi,

The thing is that we don't calculate the position of the changed state before running it. So in this case we don't check the height that's set in the state but the height set in the initial state, so 750 maxY relative to the height set before the state change. You can easily calculate where it should be though. Here's how it works → http://share.framerjs.com/m70vlefsrmlo/

Read the entire post on Facebook