Skip to content

<AIChatMessage> with "user" variant does not flush to the right #4345

Open
@leroychan

Description

@leroychan

Description

When I use AIChatMessage with variant "user", there are the following issues:

  1. The user's text within AIChatMessageBody does not flush to the right. The default example shows "user" messages flushed to the right
  2. There is no background colour on the bubble for variant="user"

This is very different from ChatMessage whereby if i set the "variant" to "outbound", it auto flushes to the right.

Link to Reproduction

https://codesandbox.io/p/sandbox/elated-lumiere-d687sw

Steps to reproduce

Using plain vanilla example from: https://paste.twilio.design/components/ai-chat-log

Paste Core Version

21.3.0

Browser

Version 137.0.7151.104 (Official Build) (arm64)

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: ComponentsRelated to the component library (core) of this systemType: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions