Keep visible around

This commit is contained in:
Eric Bailey
2026-06-10 12:04:19 -05:00
parent 0857cb99f9
commit 34f7902bea
@@ -1067,7 +1067,8 @@ function ExpandedAuthorsList({
} }
return ( return (
<Animated.View style={[a.overflow_hidden, heightStyle]}> <Animated.View style={[a.overflow_hidden, heightStyle]}>
{profileCardEnabled ? ( {visible ? (
profileCardEnabled ? (
<View onLayout={onInnerLayout} style={[a.pt_sm, a.pb_md]}> <View onLayout={onInnerLayout} style={[a.pt_sm, a.pb_md]}>
{authors.map((author, i) => ( {authors.map((author, i) => (
<ExpandedAuthorProfileCard <ExpandedAuthorProfileCard
@@ -1079,11 +1080,11 @@ function ExpandedAuthorsList({
))} ))}
</View> </View>
) : ( ) : (
visible &&
authors.map(author => ( authors.map(author => (
<ExpandedAuthorCard key={author.profile.did} author={author} /> <ExpandedAuthorCard key={author.profile.did} author={author} />
)) ))
)} )
) : null}
</Animated.View> </Animated.View>
) )
} }