Skip to content

Commit 0d58c52

Browse files
Add pointerEvents none to ReferralProgramCTA text wrapper
The aria-hidden View wrapping RenderHTML absorbs touch events, preventing taps on the text from reaching the underlying absolute- positioned PressableWithoutFeedback. Adding pointerEvents="none" lets all touches pass through to the CTA pressable underneath. Co-authored-by: ahmedGaber93 <ahmedGaber93@users.noreply.github.com>
1 parent 03023c1 commit 0d58c52

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/ReferralProgramCTA.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ function ReferralProgramCTA({referralContentType, style, onDismiss}: ReferralPro
6464
{/* Hidden from accessibility — the CTA pressable above already announces this content. */}
6565
<View
6666
aria-hidden
67+
pointerEvents="none"
6768
style={[styles.flex1, styles.flexRow, styles.alignItemsCenter]}
6869
>
6970
<RenderHTML html={translate(`referralProgram.${referralContentType}.buttonText`)} />

0 commit comments

Comments
 (0)