Skip to content

Scrolling doesn't load more messages sometimes. #1990

Description

@RasmusAntons

Describe the bug

If the messages window is already scrolled all the way to the top/bottom with the currently loaded messages, using the scroll wheel doesn't load more messages.

Reproduction

I found two scenarios where that happens:

  1. If I hold down the pg-up button to read older messages in a room, I sometimes end up in a state where no more messages load and I have to scroll down and up with the mouse wheel to load more.

  2. If I follow a link to the very top of a room and not enough messages load to fill the window, I cannot scroll down. The only way I found to load more messages is to resize the window to force it to scroll.

Expected behavior

Either these scenarios should be completely avoided by immediately loading more messages or at least using the mouse wheel on the room should trigger loading more messages even if it doesn't scroll.

Platform and versions

The first case only happened on electron, the second case also in Firefox, both Sable commit 8ba2d77.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions