Fix up arrow on non-empty editor
This commit is contained in:
parent
1823f7eca9
commit
44a8049e63
2 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,7 @@ export type Props = Readonly<{
|
|||
sortedGroupMembers: ReadonlyArray<ConversationType> | null;
|
||||
scrollerRef?: React.RefObject<HTMLDivElement>;
|
||||
onDirtyChange?(dirty: boolean): unknown;
|
||||
onEditorStateChange?(options: {
|
||||
onEditorStateChange(options: {
|
||||
bodyRanges: DraftBodyRanges;
|
||||
caretLocation?: number;
|
||||
conversationId: string | undefined;
|
||||
|
|
|
@ -221,6 +221,7 @@ export function SmartCompositionArea({ id }: { id: string }): JSX.Element {
|
|||
useGlobalModalActions();
|
||||
const { clearInstalledStickerPack } = useStickersActions();
|
||||
const { showToast } = useToastActions();
|
||||
const { onEditorStateChange } = useComposerActions();
|
||||
|
||||
return (
|
||||
<CompositionArea
|
||||
|
@ -243,6 +244,7 @@ export function SmartCompositionArea({ id }: { id: string }): JSX.Element {
|
|||
pushPanelForConversation={pushPanelForConversation}
|
||||
discardEditMessage={discardEditMessage}
|
||||
onCloseLinkPreview={onCloseLinkPreview}
|
||||
onEditorStateChange={onEditorStateChange}
|
||||
// AudioCapture
|
||||
errorDialogAudioRecorderType={errorDialogAudioRecorderType ?? null}
|
||||
recordingState={recordingState}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue