diff --git a/src/components/structures/AutoHideScrollbar.js b/src/components/structures/AutoHideScrollbar.js index 72d48a2084..4055eb4f9d 100644 --- a/src/components/structures/AutoHideScrollbar.js +++ b/src/components/structures/AutoHideScrollbar.js @@ -118,12 +118,19 @@ export default class AutoHideScrollbar extends React.Component { return this.containerRef.scrollTop; } + onWheel = (e) => { + if (this.props.onWheel) { + this.props.onWheel(e); + } + }; + render() { return (