Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<4549fc9a4f431306b7dc70ef3903b8fd>>
* @generated SignedSource<<67ef2bd30983c949f41e014297dabd6e>>
*/

/**
Expand Down Expand Up @@ -120,12 +120,6 @@ public object ReactNativeFeatureFlags {
@JvmStatic
public fun enableBridgelessArchitecture(): Boolean = accessor.enableBridgelessArchitecture()

/**
* When overflow: hidden is set, also set clipChildren to true so that clipped content does not occlude content outside the parent
*/
@JvmStatic
public fun enableClipChildrenForOverflowHidden(): Boolean = accessor.enableClipChildrenForOverflowHidden()

/**
* Enable prop iterator setter-style construction of Props in C++ (this flag is not used in Java).
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<0db6bbb173a96ab07c80a3fbe43671b3>>
* @generated SignedSource<<e3373e6363e3d9c35102fcff311570b1>>
*/

/**
Expand Down Expand Up @@ -35,7 +35,6 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
private var enableAndroidLinearTextCache: Boolean? = null
private var enableAndroidTextMeasurementOptimizationsCache: Boolean? = null
private var enableBridgelessArchitectureCache: Boolean? = null
private var enableClipChildrenForOverflowHiddenCache: Boolean? = null
private var enableCppPropsIteratorSetterCache: Boolean? = null
private var enableCustomFocusSearchOnClippedElementsAndroidCache: Boolean? = null
private var enableDestroyShadowTreeRevisionAsyncCache: Boolean? = null
Expand Down Expand Up @@ -237,15 +236,6 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
return cached
}

override fun enableClipChildrenForOverflowHidden(): Boolean {
var cached = enableClipChildrenForOverflowHiddenCache
if (cached == null) {
cached = ReactNativeFeatureFlagsCxxInterop.enableClipChildrenForOverflowHidden()
enableClipChildrenForOverflowHiddenCache = cached
}
return cached
}

override fun enableCppPropsIteratorSetter(): Boolean {
var cached = enableCppPropsIteratorSetterCache
if (cached == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<ec247759261e831159a6f7781bf44998>>
* @generated SignedSource<<ca705ae15584cb6bc81c4b1097adb09a>>
*/

/**
Expand Down Expand Up @@ -58,8 +58,6 @@ public object ReactNativeFeatureFlagsCxxInterop {

@DoNotStrip @JvmStatic public external fun enableBridgelessArchitecture(): Boolean

@DoNotStrip @JvmStatic public external fun enableClipChildrenForOverflowHidden(): Boolean

@DoNotStrip @JvmStatic public external fun enableCppPropsIteratorSetter(): Boolean

@DoNotStrip @JvmStatic public external fun enableCustomFocusSearchOnClippedElementsAndroid(): Boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<102ac98a8c3f2c1a2150c223a099cf72>>
* @generated SignedSource<<62ddb63e95e2b2aff842c5d13210d742>>
*/

/**
Expand Down Expand Up @@ -53,8 +53,6 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun enableBridgelessArchitecture(): Boolean = false

override fun enableClipChildrenForOverflowHidden(): Boolean = false

override fun enableCppPropsIteratorSetter(): Boolean = false

override fun enableCustomFocusSearchOnClippedElementsAndroid(): Boolean = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<b7b29f2e01fd0bd43e6509587c862d31>>
* @generated SignedSource<<477ec1cf98790b5219ed37092ae958cc>>
*/

/**
Expand Down Expand Up @@ -39,7 +39,6 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
private var enableAndroidLinearTextCache: Boolean? = null
private var enableAndroidTextMeasurementOptimizationsCache: Boolean? = null
private var enableBridgelessArchitectureCache: Boolean? = null
private var enableClipChildrenForOverflowHiddenCache: Boolean? = null
private var enableCppPropsIteratorSetterCache: Boolean? = null
private var enableCustomFocusSearchOnClippedElementsAndroidCache: Boolean? = null
private var enableDestroyShadowTreeRevisionAsyncCache: Boolean? = null
Expand Down Expand Up @@ -256,16 +255,6 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
return cached
}

override fun enableClipChildrenForOverflowHidden(): Boolean {
var cached = enableClipChildrenForOverflowHiddenCache
if (cached == null) {
cached = currentProvider.enableClipChildrenForOverflowHidden()
accessedFeatureFlags.add("enableClipChildrenForOverflowHidden")
enableClipChildrenForOverflowHiddenCache = cached
}
return cached
}

override fun enableCppPropsIteratorSetter(): Boolean {
var cached = enableCppPropsIteratorSetterCache
if (cached == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<50f2ea7e87e80a247b6c6ce8e2afd0ec>>
* @generated SignedSource<<4480d856ab56f2ecb216610b6e4ae31e>>
*/

/**
Expand Down Expand Up @@ -53,8 +53,6 @@ public interface ReactNativeFeatureFlagsProvider {

@DoNotStrip public fun enableBridgelessArchitecture(): Boolean

@DoNotStrip public fun enableClipChildrenForOverflowHidden(): Boolean

@DoNotStrip public fun enableCppPropsIteratorSetter(): Boolean

@DoNotStrip public fun enableCustomFocusSearchOnClippedElementsAndroid(): Boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -819,9 +819,6 @@ public open class ReactViewGroup public constructor(context: Context?) :
} else {
Overflow.fromString(overflow)
}
if (ReactNativeFeatureFlags.enableClipChildrenForOverflowHidden()) {
clipChildren = (_overflow == Overflow.HIDDEN)
}
invalidate()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<0460a8b25bfb176e47fb12dc091b1961>>
* @generated SignedSource<<176845e66b87994db4a9199df21740c0>>
*/

/**
Expand Down Expand Up @@ -129,12 +129,6 @@ class ReactNativeFeatureFlagsJavaProvider
return method(javaProvider_);
}

bool enableClipChildrenForOverflowHidden() override {
static const auto method =
getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("enableClipChildrenForOverflowHidden");
return method(javaProvider_);
}

bool enableCppPropsIteratorSetter() override {
static const auto method =
getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("enableCppPropsIteratorSetter");
Expand Down Expand Up @@ -604,11 +598,6 @@ bool JReactNativeFeatureFlagsCxxInterop::enableBridgelessArchitecture(
return ReactNativeFeatureFlags::enableBridgelessArchitecture();
}

bool JReactNativeFeatureFlagsCxxInterop::enableClipChildrenForOverflowHidden(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
return ReactNativeFeatureFlags::enableClipChildrenForOverflowHidden();
}

bool JReactNativeFeatureFlagsCxxInterop::enableCppPropsIteratorSetter(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
return ReactNativeFeatureFlags::enableCppPropsIteratorSetter();
Expand Down Expand Up @@ -1010,9 +999,6 @@ void JReactNativeFeatureFlagsCxxInterop::registerNatives() {
makeNativeMethod(
"enableBridgelessArchitecture",
JReactNativeFeatureFlagsCxxInterop::enableBridgelessArchitecture),
makeNativeMethod(
"enableClipChildrenForOverflowHidden",
JReactNativeFeatureFlagsCxxInterop::enableClipChildrenForOverflowHidden),
makeNativeMethod(
"enableCppPropsIteratorSetter",
JReactNativeFeatureFlagsCxxInterop::enableCppPropsIteratorSetter),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<88f40502abd13f8f57015429dd087519>>
* @generated SignedSource<<4078cafe7570b1478adc0b278a25155a>>
*/

/**
Expand Down Expand Up @@ -75,9 +75,6 @@ class JReactNativeFeatureFlagsCxxInterop
static bool enableBridgelessArchitecture(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

static bool enableClipChildrenForOverflowHidden(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

static bool enableCppPropsIteratorSetter(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<d96b2f1e4083046cfc061317d117e762>>
* @generated SignedSource<<e0f2fdab52f83a4bf8156bc4e55e0760>>
*/

/**
Expand Down Expand Up @@ -86,10 +86,6 @@ bool ReactNativeFeatureFlags::enableBridgelessArchitecture() {
return getAccessor().enableBridgelessArchitecture();
}

bool ReactNativeFeatureFlags::enableClipChildrenForOverflowHidden() {
return getAccessor().enableClipChildrenForOverflowHidden();
}

bool ReactNativeFeatureFlags::enableCppPropsIteratorSetter() {
return getAccessor().enableCppPropsIteratorSetter();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<51a4817654c04c979a33f44e42312dd5>>
* @generated SignedSource<<c24c659a80be5371844c214a69c149bd>>
*/

/**
Expand Down Expand Up @@ -114,11 +114,6 @@ class ReactNativeFeatureFlags {
*/
RN_EXPORT static bool enableBridgelessArchitecture();

/**
* When overflow: hidden is set, also set clipChildren to true so that clipped content does not occlude content outside the parent
*/
RN_EXPORT static bool enableClipChildrenForOverflowHidden();

/**
* Enable prop iterator setter-style construction of Props in C++ (this flag is not used in Java).
*/
Expand Down
Loading
Loading