]> cat aescling's git repositories - mastodon.git/commitdiff
Fix keyboard navigation in scrollable lists (#14348)
authorThibG <thib@sitedethib.com>
Sat, 18 Jul 2020 16:55:36 +0000 (18:55 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2020 16:55:36 +0000 (18:55 +0200)
Fixes #14347

app/javascript/mastodon/components/scrollable_list.js

index 35740f226a46229bd839af69df18829720da93f0..2689b18ef3dbaffe77450c5b418aff62b595cb56 100644 (file)
@@ -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 = {