]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix keyboard navigation in scrollable lists
authorThibG <thib@sitedethib.com>
Sat, 18 Jul 2020 16:55:36 +0000 (18:55 +0200)
committerThibaut Girka <thib@sitedethib.com>
Wed, 22 Jul 2020 11:51:44 +0000 (13:51 +0200)
Port 98f6380dee5c93d9cdc4d94ec81d31a3bfa0a943 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/components/scrollable_list.js

index 5d10ed650234b534241ee9391dc728ce94d8f871..cc8d9f1f31855fb9ae6142bba0852bf23e96a004 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 = {