deep-chat
deep-chat copied to clipboard
Strange avatar behaviour on consecutive message with `deep-chat-temporary-message`
I am following Suggestion button examples to better onboard my user by giving examples to them.
See this minimum reproducible snippet: https://codesandbox.io/p/sandbox/deep-chat-reat-jmrnyl?file=%2Fsrc%2FApp.js%3A17%2C14
- Notice the avatar is visible only in last consecutive message, i.e. the one with suggestion buttons
- Click on either of the suggestion
- The suggestion buttons message is gone because it is set as temporary
- Notice the first
How can I help you today?message stay without any avatar
Is it right for me to expect the How can I help you today? message should have an avatar after the temporary message below it is gone?
Hi @michaelleungbowtie.
That is a conundrum 😕 I'll try to investigate and see if I can find a way to place the avatar in the previous message. Thankyou for letting me know about this.
Hi @michaelleungbowtie.
I have made the fix for this bug and it is now available in deep-chat-dev and deep-chat-react-dev version 9.0.190.
I will push this change in the next release. Let me know if you face any issues with it.
Thanks!
The fix is now available in deep-chat and deep-chat-react version 2.1.1!