about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/scrollable_list.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-07-18 18:55:36 +0200
committerThibaut Girka <thib@sitedethib.com>2020-07-22 13:51:44 +0200
commitf8e315cd74d05a6878bbd018b20462daa0b5e660 (patch)
treeb1c1e5cdb84606879d65ecceebe4cf665332379b /app/javascript/flavours/glitch/components/scrollable_list.js
parent4412e2579c38ab32f698a28d0d9a6f4771b09c79 (diff)
[Glitch] Fix keyboard navigation in scrollable lists
Port 98f6380dee5c93d9cdc4d94ec81d31a3bfa0a943 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components/scrollable_list.js')
-rw-r--r--app/javascript/flavours/glitch/components/scrollable_list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/scrollable_list.js b/app/javascript/flavours/glitch/components/scrollable_list.js
index 5d10ed650..cc8d9f1f3 100644
--- a/app/javascript/flavours/glitch/components/scrollable_list.js
+++ b/app/javascript/flavours/glitch/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 = {