Ship enableNestedTextOnPressEventFix

Summary:
Ship the NestedTextOnPressEventFix feature flag

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D34554304

fbshipit-source-id: 3350c56d0cc4f2593645bcb6650034be336bd902
This commit is contained in:
David Vacca 2022-03-01 12:07:36 -08:00 коммит произвёл Facebook GitHub Bot
Родитель ff568b0b1f
Коммит 34d3373bb0
2 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -98,7 +98,4 @@ public class ReactFeatureFlags {
public static boolean enableAggressiveEventEmitterCleanup = false;
public static boolean insertZReorderBarriersOnViewGroupChildren = true;
/** TODO: T103427072 Delete ReactFeatureFlags.enableNestedTextOnPressEventFix */
public static boolean enableNestedTextOnPressEventFix = true;
}

Просмотреть файл

@ -32,7 +32,6 @@ import com.facebook.react.bridge.ReactContext;
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;
@ -391,7 +390,7 @@ public class ReactTextView extends AppCompatTextView implements ReactCompoundVie
// 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