Merge pull request #5920 from aaronraimist/page-up-down

Fix page up/down scrolling only half a page
pull/21833/head
Travis Ralston 2021-04-28 09:51:36 -06:00 committed by GitHub
commit baef98253e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ export default class ScrollPanel extends React.Component {
*/
scrollRelative = mult => {
const scrollNode = this._getScrollNode();
const delta = mult * scrollNode.clientHeight * 0.5;
const delta = mult * scrollNode.clientHeight * 0.9;
scrollNode.scrollBy(0, delta);
this._saveScrollState();
};