Fix RTE focus behaviour in threads
This commit is contained in:
parent
a0a419a3b8
commit
1da78fa6bc
3 changed files with 8 additions and 2 deletions
|
@ -50,6 +50,9 @@ export function useWysiwygSendActionHandler(
|
|||
focusComposer(composerElement, context, roomContext, timeoutId);
|
||||
break;
|
||||
case Action.ClearAndFocusSendMessageComposer:
|
||||
// When a thread is opened, prevent the main composer to steal the thread composer focus
|
||||
if (payload.timelineRenderingType !== roomContext.timelineRenderingType) break;
|
||||
|
||||
composerFunctions.clear();
|
||||
focusComposer(composerElement, context, roomContext, timeoutId);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue