about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-07-18 18:55:36 +0200
committerGitHub <noreply@github.com>2020-07-18 18:55:36 +0200
commit98f6380dee5c93d9cdc4d94ec81d31a3bfa0a943 (patch)
treeca7a6543ebfd5405d38c9491e0180149f7b6842e
parent17b1d71536609c6deabcf3b13ec9be0ec9fd793f (diff)
Fix keyboard navigation in scrollable lists (#14348)
Fixes #14347
-rw-r--r--app/javascript/mastodon/components/scrollable_list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/scrollable_list.js b/app/javascript/mastodon/components/scrollable_list.js
index 35740f226..2689b18ef 100644
--- a/app/javascript/mastodon/components/scrollable_list.js
+++ b/app/javascript/mastodon/components/scrollable_list.js
@@ -20,7 +20,7 @@ const mapStateToProps = (state, { scrollKey }) => {
   };
 };
 
-export default @connect(mapStateToProps)
+export default @connect(mapStateToProps, null, null, { forwardRef: true })
 class ScrollableList extends PureComponent {
 
   static contextTypes = {