Skip to content

Commit

Permalink
Ship enableNestedTextOnPressEventFix
Browse files Browse the repository at this point in the history
Summary:
Ship the NestedTextOnPressEventFix feature flag

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D34554304

fbshipit-source-id: 3350c56d0cc4f2593645bcb6650034be336bd902
  • Loading branch information
mdvacca authored and Andrei Shikov committed Mar 16, 2022
1 parent 4b370ce commit 7b33f20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Expand Up @@ -102,9 +102,6 @@ public static boolean doesUseOverflowInset() {

public static boolean insertZReorderBarriersOnViewGroupChildren = true;

/** TODO: T103427072 Delete ReactFeatureFlags.enableNestedTextOnPressEventFix */
public static boolean enableNestedTextOnPressEventFix = true;

/** TODO: T107492383 Delete this flag. Enables postprocessor for rounded corners for Image */
public static boolean enableRoundedCornerPostprocessing = false;
}
Expand Up @@ -32,7 +32,6 @@
import com.facebook.react.bridge.WritableArray;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.common.ReactConstants;
import com.facebook.react.config.ReactFeatureFlags;
import com.facebook.react.uimanager.PixelUtil;
import com.facebook.react.uimanager.ReactCompoundView;
import com.facebook.react.uimanager.UIManagerModule;
Expand Down Expand Up @@ -391,7 +390,7 @@ public boolean onTouchEvent(MotionEvent ev) {
// We don't need to do bubbling in native (it's already happening in JS).
// For an explanation of bubbling and capturing, see
// http://javascript.info/tutorial/bubbling-and-capturing#capturing
return ReactFeatureFlags.enableNestedTextOnPressEventFix;
return true;
}

@Override
Expand Down

0 comments on commit 7b33f20

Please sign in to comment.