Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

#995 use `asAnchor` on external embeds (#1043)

* use asAnchor on external embeds

* add noFeedback back, fix TouchableWithoutFeedback anchor handling

authored by

Eric Bailey and committed by
GitHub
bf00d498 7e1dac04

+5 -5
+2 -3
src/view/com/util/Link.tsx
··· 89 89 <TouchableWithoutFeedback 90 90 testID={testID} 91 91 onPress={onPress} 92 - // @ts-ignore web only -prf 93 - href={asAnchor ? sanitizeUrl(href) : undefined} 94 92 accessible={accessible} 95 93 accessibilityRole="link" 96 94 {...props}> 97 - <View style={style}> 95 + {/* @ts-ignore web only -prf */} 96 + <View style={style} href={asAnchor ? sanitizeUrl(href) : undefined}> 98 97 {children ? children : <Text>{title || 'link'}</Text>} 99 98 </View> 100 99 </TouchableWithoutFeedback>
+3 -2
src/view/com/util/post-embeds/index.tsx
··· 181 181 182 182 return ( 183 183 <Link 184 + asAnchor 185 + noFeedback 184 186 style={[styles.extOuter, pal.view, pal.border, style]} 185 - href={link.uri} 186 - noFeedback> 187 + href={link.uri}> 187 188 <ExternalLinkEmbed link={link} /> 188 189 </Link> 189 190 )