Clear selector after leaving the messages page

This commit is contained in:
Bojan Mojsilovic 2023-12-11 15:55:01 +01:00
parent 9d507246b8
commit 38511fa726

View File

@ -587,7 +587,7 @@ const Messages: Component = () => {
onCleanup(() => {
newMessageWrapper?.removeEventListener('input', () => onExpandableTextareaInput());
newMessageInput && newMessageInput.removeEventListener('keydown', onKeyDown);
// messages?.actions.selectSender();
messages?.actions.selectSender();
});
const sendMessage = async () => {