react-chat-widget icon indicating copy to clipboard operation
react-chat-widget copied to clipboard

dynamic large content scroll does not work properly

Open amitsingh0542 opened this issue 4 years ago • 3 comments

I have application where i show toggleMsgLoader and wait for dynamic content once dynamic content loaded togglemsgLoader is getting turned off and content is loading. As my dynamic content (renderComponent) is large toggle is not scrolling till bottom. is there anything i can re-trigger scroll to set for bottom aligned?

amitsingh0542 avatar May 26 '20 06:05 amitsingh0542

I closed defect by mistake. Please let me know if i can have scroll till bottom after renderComponent render the dynamic content.

amitsingh0542 avatar May 26 '20 07:05 amitsingh0542

I am also experiencing this. Just to clarify the situation:

If there is an ongoing conversation addResponseMessage() and addUserMessage() would scroll the chat view to the newly added chat message. If the user scrolled within the chat component, to look at the previous conversation, and in the meantime the toggleMsgLoader() gets called, then the chat view does not scroll to the newly added 3-dot-typing-indicator

This would be ok, but when the user is responding, as always, and the conversation fills the whole chat view, the 3-dot-typing-indicator isn't visible to the user and the "human-typing-delay" isn't recognized by the user.

In my eyes this seems to be a bug and simple to fix. @mcallegari10 could you take a look?

SirBenedick avatar Jun 04 '20 10:06 SirBenedick

@mcallegari10 please look into this issue.

amitsingh0542 avatar Jun 05 '20 10:06 amitsingh0542