also use relative scrolling when eh ... doing relative scrolling
This commit is contained in:
parent
462c3411b2
commit
070b430702
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ export default createReactClass({
|
||||||
scrollRelative: function(mult) {
|
scrollRelative: function(mult) {
|
||||||
const scrollNode = this._getScrollNode();
|
const scrollNode = this._getScrollNode();
|
||||||
const delta = mult * scrollNode.clientHeight * 0.5;
|
const delta = mult * scrollNode.clientHeight * 0.5;
|
||||||
scrollNode.scrollTop = scrollNode.scrollTop + delta;
|
scrollNode.scrollBy(0, delta);
|
||||||
this._saveScrollState();
|
this._saveScrollState();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue