chatscope / chatscope/chat-ui-kit-react

Avatar isn't displayed when custom content is used

Open
#155 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've been using this library for my chat app, and it's been so easy to get something done really quickly.

I'm stuck with this problem - when displaying custom content like the code snippet below, I cannot get the Avatar to display beside it. I've tried several combinations with no luck. Any idea how to fix this?

This is the code snippet:

```javascript
}
avatarSpacer={true}
>


Some action goes here



```

This is the output:
![image](https://github.com/chatscope/chat-ui-kit-react/assets/13506613/81b09cf3-709f-4c56-b05b-802999095bf7)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.