Skip to content

Commit 02296dc

Browse files
committed
Every time we check includesBlockingLane we need to exclude gesture render
1 parent 982863c commit 02296dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,10 @@ function prepareFreshStack(root: FiberRoot, lanes: Lanes): Fiber {
20542054
lanes,
20552055
previousUpdateTask,
20562056
);
2057-
} else if (includesBlockingLane(animatingLanes)) {
2057+
} else if (
2058+
!isGestureRender(animatingLanes) &&
2059+
includesBlockingLane(animatingLanes)
2060+
) {
20582061
// If this lane is still animating, log the time from previous render finishing to now as animating.
20592062
setCurrentTrackFromLanes(SyncLane);
20602063
logAnimatingPhase(

0 commit comments

Comments
 (0)