diff --git a/src/components/Composer/types.ts b/src/components/Composer/types.ts index 1fd428ba32fe..6ea3bdb2f824 100644 --- a/src/components/Composer/types.ts +++ b/src/components/Composer/types.ts @@ -69,7 +69,7 @@ type ComposerProps = Omit & { /** Indicates whether the composer is in a group policy report. Used for disabling report mentioning style in markdown input */ isGroupPolicyReport?: boolean; - /** Whether the soft keyboard is open */ + /** Whether to show the keyboard on focus */ showSoftInputOnFocus?: boolean; }; diff --git a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx b/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx index 5bd3fb16d6a8..b56109b64c40 100644 --- a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx +++ b/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx @@ -137,7 +137,7 @@ type ComposerWithSuggestionsProps = Partial & { /** policy ID of the report */ policyID?: string; - /** Whether the soft keyboard is open */ + /** Whether to show the keyboard on focus */ showSoftInputOnFocus: boolean; /** A method to update showSoftInputOnFocus */ diff --git a/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx b/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx index 6aeb516391b5..3659a638fca9 100644 --- a/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx +++ b/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx @@ -92,7 +92,7 @@ type ReportActionComposeProps = Pick void; - /** Whether the soft keyboard is open */ + /** Whether to show the keyboard on focus */ showSoftInputOnFocus: boolean; /** A method to update showSoftInputOnFocus */