Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/render/src/renderers/ARenderer.tsx
Comment thread
jsamr marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ function useAnchorOnLinkPress(
const { baseTarget } = useDocumentMetadata();
const shouldHandleLinkPress =
tnode.tagName === 'a' &&
typeof normalizedHref === 'string' &&
typeof href === 'string' &&
href.length > 0 &&
typeof normalizedHref === 'string' &&
typeof onPress === 'function';
return shouldHandleLinkPress
? (e: GestureResponderEvent) =>
Expand Down
Loading