QuickReply icon indicating copy to clipboard operation
QuickReply copied to clipboard

Scrollbar position to bottom of message box

Open C1n opened this issue 7 years ago • 2 comments

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.

C1n avatar Feb 13 '18 19:02 C1n

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.

lavigor avatar Feb 13 '18 19:02 lavigor

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.

C1n avatar Feb 13 '18 22:02 C1n