From 5ec5af68fe99f4ebb19a0d768f777f1af60cabbe Mon Sep 17 00:00:00 2001 From: Masoud Fallahpourbaee Date: Mon, 30 Oct 2023 11:11:07 +0100 Subject: [PATCH] Prevent the height of URL TextInput to grow when URL length is too long --- TestApp/src/standalonewebview/StandaloneWebViewScreen.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/TestApp/src/standalonewebview/StandaloneWebViewScreen.tsx b/TestApp/src/standalonewebview/StandaloneWebViewScreen.tsx index 58cc79e0..9e278044 100644 --- a/TestApp/src/standalonewebview/StandaloneWebViewScreen.tsx +++ b/TestApp/src/standalonewebview/StandaloneWebViewScreen.tsx @@ -25,6 +25,7 @@ export default function StandaloneWebViewScreen() { keyboardType={`url`} autoCorrect={false} autoCapitalize={'none'} + numberOfLines={1} style={styles.urlInput} defaultValue={url} placeholder="Enter the URL to load..."