Skip to content

Commit e435242

Browse files
mdvaccaSaadnajmi
authored andcommitted
Ship enableNestedTextOnPressEventFix
Summary: Ship the NestedTextOnPressEventFix feature flag changelog: [internal] internal Reviewed By: javache Differential Revision: D34554304 fbshipit-source-id: 3350c56d0cc4f2593645bcb6650034be336bd902
1 parent 622d119 commit e435242

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,4 @@ public static boolean doesUseOverflowInset() {
9898
public static boolean enableAggressiveEventEmitterCleanup = false;
9999

100100
public static boolean insertZReorderBarriersOnViewGroupChildren = true;
101-
102-
/** TODO: T103427072 Delete ReactFeatureFlags.enableNestedTextOnPressEventFix */
103-
public static boolean enableNestedTextOnPressEventFix = true;
104101
}

ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import com.facebook.react.bridge.WritableArray;
3333
import com.facebook.react.bridge.WritableMap;
3434
import com.facebook.react.common.ReactConstants;
35-
import com.facebook.react.config.ReactFeatureFlags;
3635
import com.facebook.react.uimanager.PixelUtil;
3736
import com.facebook.react.uimanager.ReactCompoundView;
3837
import com.facebook.react.uimanager.UIManagerModule;
@@ -391,7 +390,7 @@ public boolean onTouchEvent(MotionEvent ev) {
391390
// We don't need to do bubbling in native (it's already happening in JS).
392391
// For an explanation of bubbling and capturing, see
393392
// http://javascript.info/tutorial/bubbling-and-capturing#capturing
394-
return ReactFeatureFlags.enableNestedTextOnPressEventFix;
393+
return true;
395394
}
396395

397396
@Override

0 commit comments

Comments
 (0)