get scrolltop and scrollevent out of autohide/indicator scrollbar
This commit is contained in:
@@ -59,6 +59,10 @@ export default class IndicatorScrollbar extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
getScrollTop() {
|
||||
return this._autoHideScrollbar.getScrollTop();
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
if (this._scrollElement) {
|
||||
this._scrollElement.removeEventListener("scroll", this.checkOverflow);
|
||||
|
||||
Reference in New Issue
Block a user