-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Scroll to bottom feature does not differentiate between new messages and 'read' messages #1657
Comments
Hi @xinfli, the "New messages" notification actually indicates there are new messages at the bottom of the chat (most recent messages). Could you test and see if it disappears when you scroll to the bottom of the chat? Is this a feature you would still prefer to hide? |
Hi @corinagum Thanks, the notification works fine as design (When scroll to bottom, it will disapper), but not as I expected. |
@xinfli, thanks for the details. :) While the team discusses this, please know that you are more than welcome to pick and choose the components you want to use. If the "New messages" button is a blocking feature for you, you can take it out if you wish. Please take a look at 13.customization-speech-ui for guidance on implementation. DiscussionIt sounds like there are potentially three issues here:
|
I think issue 2 above is accurate, and that this should be the behavior: "New messages" should disappear once the new/unseen message has scrolled into view, but it should not reappear when that message scrolls out of view again. |
I would agree with @mewa1024 as well. |
We've had more offline discussion -- this issue is related to compulim/react-scroll-to-bottom#10 - both issues will need to be resolved at the same time. We want to have a 'read' marker where all messages are marked as read when the user hits the bottom of the container. I'm keeping this issue open for tracking both. |
Thanks all for your quick response 👍 |
This is done in 4.8.0. |
The "New messages" always show when I scroll up, even I already read all messages.
Is it possible to mark all messages as read, or can I hide the "New messages"?
Thanks.
The text was updated successfully, but these errors were encountered: