Skip to content

Starting Chat() messages don't appear when ui is dynamically rendered #1592

@cpsievert

Description

@cpsievert

A minimal example (notice how "A starting message" doesn't appear on page load)

from shiny.express import render, ui

chat = ui.Chat(id="chat", messages=["A starting message"])

@render.ui
def chat_output():
    return chat.ui()

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