From f9aed5a74794c11937d80adba12fd415ec925e8d Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Fri, 11 Apr 2025 21:08:16 -0700 Subject: [PATCH] Enable TextInput-textStyles E2E Test against RNTester Summary: We fixed the previous layout issue when it wasn't in a ScrollView (I think text caching problem?) Let's enable for more than just Catalyst, and re-enable this test for iOS! Changelog: [Internal] Reviewed By: GijsWeterings Differential Revision: D72683455 fbshipit-source-id: 538f8e23226c07510d382e45eb29f1710822849e --- .../js/examples/TextInput/TextInputSharedExamples.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js b/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js index 6740f174f9d..50090c56476 100644 --- a/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js +++ b/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js @@ -70,13 +70,6 @@ const styles = StyleSheet.create({ focusedUncontrolled: { margin: -2, }, - screenshotArea: { - position: 'absolute', - top: -5, - left: 120, - right: -5, - bottom: -5, - }, wrappedText: { maxWidth: 300, }, @@ -781,8 +774,7 @@ function TextStylesContainer({examples}: TextStylesContainerProps) { onPress={() => setOffset((offset + 1) % MAX_CYCLES)}> Cycle {offset + 1}/{MAX_CYCLES} - - + {examples.map(({name, multiline, textStyles}) => ( {multiline ? (