Skip to content

Increase infinite messages scroll distance #111

@j4hangir

Description

@j4hangir

I suggest the fetch-messages occur as soon as the user is approaching the end of list rather than actually reaching it. At the moment the function's called only when user's actually reached the top, which in turn will always lead to a little lagging xp.

This distance could be halved, or even be customized by a approaching prop, e.g. fetch-distance=0.5, as in the user is half-way of a full-scroll to reaching to the top, whichever better.

A default number might also be preferred and perhaps only a boolean to toggle it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions