Skip to content

Commit

Permalink
Do not override interruptibleAnimatorForTransition: preventing content
Browse files Browse the repository at this point in the history
jump

**important**: however at the same time we restore v3 header animation!
  • Loading branch information
kkafar committed Dec 10, 2024
1 parent 67ffb85 commit 0cf148e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ios/RNSScreenStackAnimator.mm
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ - (NSTimeInterval)transitionDuration:(id<UIViewControllerContextTransitioning>)t
return _transitionDuration;
}

- (id<UIViewImplicitlyAnimating>)interruptibleAnimatorForTransition:
(id<UIViewControllerContextTransitioning>)transitionContext
{
return _inFlightAnimator;
}
//- (id<UIViewImplicitlyAnimating>)interruptibleAnimatorForTransition:
// (id<UIViewControllerContextTransitioning>)transitionContext
//{
// return _inFlightAnimator;
//}

- (void)animateTransition:(id<UIViewControllerContextTransitioning>)transitionContext
{
Expand Down

0 comments on commit 0cf148e

Please sign in to comment.