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

Could we add scroll-to-top behavior? #366

Closed
sgoodwin opened this issue Sep 25, 2023 · 2 comments
Closed

Could we add scroll-to-top behavior? #366

sgoodwin opened this issue Sep 25, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@sgoodwin
Copy link

sgoodwin commented Sep 25, 2023

What are you trying to achieve?

When showing a channel, we have the ability to scroll to a specific message if we know which message to scroll to, but we'd like to be able to scroll to the first message in a channel when we show a channel (as opposed to the most recent).

If possible, how can you achieve this currently?

Technically you can do this if you happen to know what the first message is, but a channel controller only knows about the most recent messages initially.

What would be the better way?

Ideally we'd be able to specify when creating a ChatChannelView that we want it to show first to last instead of showing most recent.

GetStream Environment

GetStream Chat version: 4.36.0
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
iOS version: 16+
Swift version: 5.9
Xcode version: 15
Device:

Additional context

@martinmitrevski
Copy link
Contributor

Hi @sgoodwin,

We don't have support for such feature. As you pointed out, we don't have support for the oldest message. Additionally, our message list doesn't have bi-directional scrolling support.

At the moment, I'm not able to provide any info about when/if this feature would be added in our SDK.

Best, Martin

@laevandus laevandus added the enhancement New feature or request label Jun 12, 2024
@laevandus
Copy link
Contributor

Hi @sgoodwin, if there is a need for such functionality still, please reach out to our engineering support for this feature request.
Thank you!

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

No branches or pull requests

3 participants