From 1a1dbec3e2cfc2c6ffc50f3ccbe23b2582a531d8 Mon Sep 17 00:00:00 2001 From: Ayaz Alavi Date: Tue, 10 Oct 2023 12:59:48 +0500 Subject: [PATCH] added comment Signed-off-by: Ayaz Alavi --- src/components/TextInput/BaseTextInput.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/TextInput/BaseTextInput.js b/src/components/TextInput/BaseTextInput.js index 0fbea2cdc5a9..3d806c7fb972 100644 --- a/src/components/TextInput/BaseTextInput.js +++ b/src/components/TextInput/BaseTextInput.js @@ -341,6 +341,8 @@ function BaseTextInput(props) { // once it exceeds the input space (See https://github.com/Expensify/App/issues/13802) !isMultiline && {height, lineHeight}, + // Explicitly change boxSizing attribute for mobile chrome in order to apply line-height + // for the issue mentioned here https://github.com/Expensify/App/issues/26735 !isMultiline && Browser.isMobileChrome() && {boxSizing: 'content-box', height: undefined}, // Stop scrollbar flashing when breaking lines with autoGrowHeight enabled.