Fix text selection in multiline alt text
This commit is contained in:
@@ -50,6 +50,9 @@ export function Footer({altText, isAltExpanded, onToggleAltExpanded}: Props) {
|
|||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel={l`Expand alt text`}
|
accessibilityLabel={l`Expand alt text`}
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
|
onLongPress={() => {
|
||||||
|
/* noop to allow text selection */
|
||||||
|
}}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
if (isMomentumScrolling.current) return
|
if (isMomentumScrolling.current) return
|
||||||
LayoutAnimation.configureNext({
|
LayoutAnimation.configureNext({
|
||||||
|
|||||||
Reference in New Issue
Block a user