File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ const propTypes = {
83
83
/** Whether this is the report action compose */
84
84
isReportActionCompose : PropTypes . bool ,
85
85
86
+ /** Whether the sull composer is open */
87
+ isComposerFullSize : PropTypes . bool ,
88
+
86
89
...withLocalizePropTypes ,
87
90
88
91
...windowDimensionsPropTypes ,
@@ -111,6 +114,7 @@ const defaultProps = {
111
114
shouldCalculateCaretPosition : false ,
112
115
checkComposerVisibility : ( ) => false ,
113
116
isReportActionCompose : false ,
117
+ isComposerFullSize : false ,
114
118
} ;
115
119
116
120
/**
Original file line number Diff line number Diff line change @@ -1100,7 +1100,7 @@ function getMentionTextColor(isOurMention: boolean): string {
1100
1100
*/
1101
1101
function getComposeTextAreaPadding ( numberOfLines : number , isComposerFullSize : boolean ) : ViewStyle | CSSProperties {
1102
1102
let paddingValue = 5 ;
1103
- // If isComposerFullSize paddingValue will always be 5
1103
+ // Issue #26222: If isComposerFullSize paddingValue will always be 5 to prevent padding jumps when adding multiple lines.
1104
1104
if ( ! isComposerFullSize ) {
1105
1105
if ( numberOfLines === 1 ) {
1106
1106
paddingValue = 9 ;
You can’t perform that action at this time.
0 commit comments