xgeekshq/intelli-mate

[Feature]: Conditional auto-scroll to bottom

Closed this issue · 0 comments

Note: for support questions, please use our email. This repository's issues are reserved for feature requests and bug reports.

  • I'm submitting a ...

    • bug report
    • feature request
    • support request => Please do not submit support request here, contact us directly at contact@xgeeks.io
  • What is the current behavior?

Now when a user in a chat receives a message the chat automatically scrolls to the last message. If a user is reading a message that is upper in the chat it creates an annoying situation when he needs to scroll up again to read the message.

  • What is the expected behavior?

Create a logic that detects if the chat is at the bottom and only scrolls automatically if it's true. When the chat is not at the bottom it should show a button on the right-down corner to fast scroll to the last chat message and the automatic scroll to the bottom should be disabled.