Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollbar position to bottom of message box #79

Open
C1n opened this issue Feb 13, 2018 · 2 comments
Open

Scrollbar position to bottom of message box #79

C1n opened this issue Feb 13, 2018 · 2 comments

Comments

@C1n
Copy link

C1n commented Feb 13, 2018

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.

@lavigor
Copy link
Collaborator

lavigor commented Feb 13, 2018

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.

@C1n
Copy link
Author

C1n commented Feb 13, 2018

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants