Skip to content

Scrollbar position to bottom of message box #79

Open

Description

@C1n

Currently, when a quote is inserted in the quick reply window, the scroll position is set to the top. This confuses some users as they start typing in the middle of the quote, messing up their post. By positioning the scroll bar to the bottom of the window, the bottom of the quote will be visible and the user do not make this error.

I tried some javascript:

var mydiv = $("#message");
mydiv.scrollTop(mydiv.prop("scrollHeight"));

However, this didn't work.

Activity

  1. lavigor commented on Feb 13, 2018

    @lavigor
    Collaborator

    Hello, @C1n

    That should not be a problem because the cursor is always positioned at the bottom of the text field and the browser scrolls that for you.
    Maybe it is a browser problem or some external script intervention from other extensions.

  2. C1n commented on Feb 13, 2018

    @C1n
    Author

    Okay I will check this but this was a request from some users on my board so I'm guessing this is a general problem. I'm using Chrome and it doesn't automatically scroll to the end of the quote (even with disabling all add-ons). It does work on Firefox though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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