[Glitch] Allow accessing ref of ScrollContainer's child

Port 11bd515648 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion
2025-09-25 18:14:49 +02:00
committed by Claire
parent 3cd021d4d9
commit 364aced99e
3 changed files with 17 additions and 3 deletions

View File

@@ -399,7 +399,7 @@ class ScrollableList extends PureComponent {
if (trackScroll) {
return (
<ScrollContainer scrollKey={scrollKey}>
<ScrollContainer scrollKey={scrollKey} childRef={this.setRef}>
{scrollableArea}
</ScrollContainer>
);