diff --git a/src/components/structures/AutoHideScrollbar.js b/src/components/structures/AutoHideScrollbar.js
index 04323bb548..14f7c9ca83 100644
--- a/src/components/structures/AutoHideScrollbar.js
+++ b/src/components/structures/AutoHideScrollbar.js
@@ -38,12 +38,13 @@ export default class AutoHideScrollbar extends React.Component {
render() {
return (
+ ref={this._collectContainerRef}
+ style={this.props.style}
+ className={["mx_AutoHideScrollbar", this.props.className].join(" ")}
+ onScroll={this.props.onScroll}
+ onWheel={this.props.onWheel}
+ tabIndex={this.props.tabIndex}
+ >
{ this.props.children }
);
}
diff --git a/src/components/structures/IndicatorScrollbar.js b/src/components/structures/IndicatorScrollbar.js
index 05ad4f7561..27f7fbb301 100644
--- a/src/components/structures/IndicatorScrollbar.js
+++ b/src/components/structures/IndicatorScrollbar.js
@@ -192,7 +192,7 @@ export default class IndicatorScrollbar extends React.Component {
ref={this._collectScrollerComponent}
wrappedRef={this._collectScroller}
onWheel={this.onMouseWheel}
- {... this.props}
+ {...this.props}
>
{ leftOverflowIndicator }
{ this.props.children }
diff --git a/src/components/structures/LeftPanel2.tsx b/src/components/structures/LeftPanel2.tsx
index 717ec240ac..54da7446ac 100644
--- a/src/components/structures/LeftPanel2.tsx
+++ b/src/components/structures/LeftPanel2.tsx
@@ -327,6 +327,9 @@ export default class LeftPanel2 extends React.Component {