material-motion-archive / coreanimation-swift

Archived February 16, 2017 :: Core animation plan types for Apple devices
Apache License 2.0
5 stars 2 forks source link

Popup menu demo doesn't maintain state after expansion animation #9

Closed jverkoey closed 7 years ago

jverkoey commented 7 years ago

This is due to not setting the model layer value to the destination of the animation. To keep state persisted after the animation completes we need to also update the model value of the layer.