We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ccfcd1 commit 05616d2Copy full SHA for 05616d2
packages/react-reconciler/src/ReactFiberWorkLoop.js
@@ -3927,6 +3927,9 @@ function commitGestureOnRoot(
3927
}
3928
3929
function flushGestureMutations(): void {
3930
+ if (!enableSwipeTransition) {
3931
+ return;
3932
+ }
3933
if (pendingEffectsStatus !== PENDING_GESTURE_MUTATION_PHASE) {
3934
return;
3935
@@ -3953,6 +3956,9 @@ function flushGestureMutations(): void {
3953
3956
3954
3957
3955
3958
function flushGestureAnimations(): void {
3959
3960
3961
3962
// If we get canceled before we start we might not have applied
3963
// mutations yet. We need to apply them first.
3964
flushGestureMutations();
0 commit comments