From 17af5090ad11d643676b5acd2b483627928d9908 Mon Sep 17 00:00:00 2001 From: s-alves10 Date: Mon, 25 Sep 2023 14:01:43 -0500 Subject: [PATCH] fix: get styles based on state numberOfLines --- src/components/Composer/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Composer/index.js b/src/components/Composer/index.js index 44075a4ec1eb..d0e2ba910e8b 100755 --- a/src/components/Composer/index.js +++ b/src/components/Composer/index.js @@ -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 (