Mark measured nodes as non-collapsable for Android
This commit is contained in:
@@ -169,7 +169,7 @@ let ProfileHeaderShell = ({
|
||||
styles.avi,
|
||||
profile.associated?.labeler && styles.aviLabeler,
|
||||
]}>
|
||||
<Animated.View ref={aviRef}>
|
||||
<Animated.View ref={aviRef} collapsable={false}>
|
||||
<UserAvatar
|
||||
type={profile.associated?.labeler ? 'labeler' : 'user'}
|
||||
size={90}
|
||||
|
||||
@@ -154,7 +154,7 @@ export function ProfileSubpageHeader({
|
||||
paddingBottom: 6,
|
||||
paddingHorizontal: isMobile ? 12 : 14,
|
||||
}}>
|
||||
<Animated.View ref={aviRef}>
|
||||
<Animated.View ref={aviRef} collapsable={false}>
|
||||
<Pressable
|
||||
testID="headerAviButton"
|
||||
onPress={onPressAvi}
|
||||
|
||||
@@ -48,7 +48,10 @@ export function GalleryItem({
|
||||
const hideBadges =
|
||||
viewContext === PostEmbedViewContext.FeedEmbedRecordWithMedia
|
||||
return (
|
||||
<Animated.View style={a.flex_1} ref={containerRefs[index]}>
|
||||
<Animated.View
|
||||
style={a.flex_1}
|
||||
ref={containerRefs[index]}
|
||||
collapsable={false}>
|
||||
<Pressable
|
||||
onPress={onPress ? () => onPress(index, containerRefs) : undefined}
|
||||
onPressIn={onPressIn ? () => onPressIn(index) : undefined}
|
||||
|
||||
@@ -180,7 +180,10 @@ export function PostEmbeds({
|
||||
const image = images[0]
|
||||
return (
|
||||
<ContentHider modui={moderation?.ui('contentMedia')}>
|
||||
<Animated.View ref={containerRef} style={[a.mt_sm, style]}>
|
||||
<Animated.View
|
||||
ref={containerRef}
|
||||
style={[a.mt_sm, style]}
|
||||
collapsable={false}>
|
||||
<AutoSizedImage
|
||||
crop={
|
||||
viewContext === PostEmbedViewContext.ThreadHighlighted
|
||||
|
||||
Reference in New Issue
Block a user