From 226a14dfe6fd374a243967e31a36dc17998315b2 Mon Sep 17 00:00:00 2001 From: Peter Abbondanzo Date: Thu, 13 Aug 2026 10:37:37 -0700 Subject: [PATCH] Add TextInput placeholder screenshot coverage (#57925) Summary: Add RNTester screenshot coverage for single-line and multiline `TextInput` placeholders on Android and iOS. The test verifies that a long single-line placeholder is ellipsized while a multiline placeholder wraps. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D115731487 --- .../TextInput/TextInputSharedExamples.js | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js b/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js index 3aa30acc36ac..8f63ca66345e 100644 --- a/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js +++ b/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js @@ -1200,6 +1200,31 @@ module.exports = [ ); }, }, + { + title: 'Placeholder ellipsizing', + name: 'placeholderEllipsizing', + render: function (): React.Node { + const placeholder = + 'This placeholder is too long to fit on a single line'; + + return ( + + + + + ); + }, + }, { title: 'Clipping', name: 'clipping',