From 13a4549111b52934d6f9d3174d4089dd718eb722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Wed, 30 Jun 2021 11:57:33 +0200 Subject: [PATCH] Partially fix hotkey navigation on timelines (up/down) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/components/scrollable_list.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/soapbox/components/scrollable_list.js b/app/soapbox/components/scrollable_list.js index cce6bd6df..16e394a78 100644 --- a/app/soapbox/components/scrollable_list.js +++ b/app/soapbox/components/scrollable_list.js @@ -217,6 +217,10 @@ export default class ScrollableList extends PureComponent { ); } + setRef = c => { + this.node = c; + } + render() { const { children, scrollKey, showLoading, isLoading, hasMore, prepend, alwaysPrepend, emptyMessage, onLoadMore } = this.props; const childrenCount = React.Children.count(children);