Problem try custom transition animation use pop
I'm trying to use POP animation work with the latest AsyncDisplayKit (2.0 beta). So enable automaticallyManagesSubnodes and override animateLayoutTransition: . And write the animation their. I found things goes correct if use [UIView animationWithDuration:]. But the POP animation will get a unexpected flash. The example upload to https://github.com/smalllixin/aspop_transition Hope get help. Thanks in advance.
@smalllixin: Pop should work with ASDK and I don't see anything that is obviously wrong with your code. Could you try on the latest master? Some changes to automaticallyManagesSubnodes were made in the last few days that may help.
FYI - it is safe to call addTarget:action: in init: of the ASDisplayNode (instead of didLoad) if you prefer.
Hi @hannahmbanana . Thanks for your replying. And I'm sure use the latest AsyncDisplayKit on master I record a video show the problem. The problem is the flying block directly appear to the final position(one moment) then run the animation. https://youtu.be/ceiJaMA3T8g
Besides, preferredFrameSize is deprecated. Should I replace with node.size(ASLayoutableSize) ?
@smalllixin I believe that flashing animation is a pop bug, I have seen it many times before
Closing this for now, if you have more info, please reply back!