Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: 'user is typing' message bubble #60

Open
mixtly87 opened this issue Feb 18, 2024 · 1 comment
Open

Feature request: 'user is typing' message bubble #60

mixtly87 opened this issue Feb 18, 2024 · 1 comment

Comments

@mixtly87
Copy link

Is it possible to add a 'user is typing' feature. Something like a message bubble with three dots and list of chat-users in the caption-label bellow the buble, indicating who is currently typing in the chat?

@f3dm76
Copy link
Collaborator

f3dm76 commented Jun 17, 2024

Hey @mixtly87, the important thing here is that you'd have to track the statuses yourself anyway. I could add a modifier to accept a string with the list of names who are currently typing and display them on top of input view with some simple animation, if that's what you'd like. Or you could easily achieve that UI on your end by constructing a custom input view builder. Or by using a MainBodyBuilderClosure from comments-chat-type branch (this one will be released sometime in a future)

mainBodyBuilder: { listView, inputView in
            VStack {
                listView
                // typing view
                inputView
            }
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants