From a3e2110df6265585af0e3fab3c46f61e0941193a Mon Sep 17 00:00:00 2001 From: JFs743 Date: Wed, 15 Jul 2026 10:33:11 -0400 Subject: [PATCH] Add missing 'auto' value for overflow in StyleSheets 'auto' is a valid option distinct from all other options and currently requires to do `overflow: 'auto' as any` to avoid a Typescript error --- packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts b/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts index 80c004612b1..9ee6a3d4264 100644 --- a/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts +++ b/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts @@ -83,7 +83,7 @@ export interface FlexStyle { maxWidth?: DimensionValue | undefined; minHeight?: DimensionValue | undefined; minWidth?: DimensionValue | undefined; - overflow?: 'visible' | 'hidden' | 'scroll' | undefined; + overflow?: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined; padding?: DimensionValue | undefined; paddingBottom?: DimensionValue | undefined; paddingEnd?: DimensionValue | undefined;