mdgriffith / elm-style-animation

The style animation library for Elm!
http://package.elm-lang.org/packages/mdgriffith/elm-style-animation/latest
BSD 3-Clause "New" or "Revised" License
441 stars 41 forks source link

Animation.display Animation.none -> Animation.display Animation.block is not doing anything #48

Closed NeverwinterMoon closed 7 years ago

NeverwinterMoon commented 7 years ago

I tried to have animation started with Animation.display Animation.none and transition it to Animation.display Animation.block (along with some translation). Translation works, but the display property never changes. Am I too slow with understanding something or is this as expected?

mdgriffith commented 7 years ago

Try putting the Animation.display property inside an Animation.set after the Animation.to.

NeverwinterMoon commented 7 years ago

@mdgriffith Thanks for your help! It worked out just as I wanted it. I should have figured this out on my own :(

mdgriffith commented 7 years ago

No worries. If you're not on the elm slack, I recommend joining. I regularly answer questions there :)