From d86b6d05f263778be166cc66069aa9d2c428806f Mon Sep 17 00:00:00 2001 From: coldsmirk <18739624+coldsmirk@users.noreply.github.com> Date: Mon, 30 Nov 2026 02:14:57 -0800 Subject: [PATCH] Reproduce multiline TextInputs that hide their first words in RNTesterPlayground --- .../examples/Playground/RNTesterPlayground.js | 37 ++++++++++++++++--- 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js b/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js index 8e6b10479de7..263977f3d88f 100644 --- a/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js +++ b/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js @@ -10,23 +10,48 @@ import type {RNTesterModuleExample} from '../../types/RNTesterTypes'; -import RNTesterText from '../../components/RNTesterText'; import * as React from 'react'; -import {StyleSheet, View} from 'react-native'; +import {StyleSheet, TextInput, View} from 'react-native'; function Playground() { return ( - - Edit "RNTesterPlayground.js" to change this file - + + + ); } const styles = StyleSheet.create({ container: { - padding: 10, + alignItems: 'flex-start', + padding: 24, + gap: 16, + backgroundColor: 'white', + }, + input: { + padding: 0, + fontSize: 16, + lineHeight: 22, + color: 'black', + backgroundColor: 'lightblue', + }, + wide: { + width: 200, + }, + cursive: { + fontFamily: 'cursive', + fontSize: 18, + lineHeight: 27, }, });