Skip to content

Support IsTyping props and component in react-chat-engine-advanced #210

@Madhavkabra

Description

@Madhavkabra

Hi there @alamorre / @dhavelock , I'm trying to show username is typing message in react-chat-engine-advanced chat list on typing in message input field, But I'm not able to achieve this. I've logged chatProps returned from useMultiChatLogic hook but there is no any props which can show typing state with user details and there is no any documents for the same.

This feature is available in react-chat-engine

Here is my code

const chatProps = useMultiChatLogic(projectId, username, secret);

return (
    <>
      <MultiChatSocket
        {...chatProps}
        onConnect={() => scrollToBottom()}
      />
      <MultiChatWindow
        {...chatProps}
        renderChatFeed={(chatFeedProps) => (
          <ChatFeed
            {...chatFeedProps}
            activeChatId={chatProps.activeChatId}
            messagesEndRef={messagesEndRef}
            setEditorRef={setEditorRef}
            scrollToBottom={scrollToBottom}
          />
        )}
        onMessageFormSubmit={handleSendMessage}
      />
    </>
  );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions