Skip to content

Commit

Permalink
Merge pull request #28188 from s-alves10/fix/issue-27892
Browse files Browse the repository at this point in the history
fix: get styles based on state numberOfLines
  • Loading branch information
tylerkaraszewski authored Oct 3, 2023
2 parents e30dce1 + 17af509 commit cc599fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Composer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,9 @@ function Composer({
numberOfLines < maxLines ? styles.overflowHidden : {},

StyleSheet.flatten([style, {outline: 'none'}]),
StyleUtils.getComposeTextAreaPadding(numberOfLinesProp, isComposerFullSize),
StyleUtils.getComposeTextAreaPadding(numberOfLines, isComposerFullSize),
],
[style, maxLines, numberOfLinesProp, numberOfLines, isComposerFullSize],
[style, maxLines, numberOfLines, isComposerFullSize],
);

return (
Expand Down

0 comments on commit cc599fe

Please sign in to comment.