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