Skip to content

Optionally fill an incomplete screen from the bottom #30

@bgribble

Description

@bgribble

Really liking react-chatview for my application, thanks!

I am doing a chat-type view with an input at the bottom and the react-chatview containing history of utterances above. I pin the containing <div> to fill the available space in the single-page app.

I would really like a newly-created chat thread to grow from the bottom upward, like a teletype session, so that history just starts scrolling off the top as more utterances are added. What it does instead is display the first message at the top of the screen, then grow downward as more chatting happens (newer messages on bottom, of course, since I specify flipped={true}) until scrolling kicks in and then it starts pushing history off the top of the screen.

A screenshot of a short chat thread that doesn't yet fill up a screen:

screen shot 2017-08-31 at 3 28 26 pm

an option like fillFromBottom={true} would be awesome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions