Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ayaz Alavi <ayaz.alavi@gmail.com>
  • Loading branch information
ayazalavi committed Oct 10, 2023
1 parent 23470eb commit 1a1dbec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/TextInput/BaseTextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1a1dbec

Please sign in to comment.