react-native-htmlview icon indicating copy to clipboard operation
react-native-htmlview copied to clipboard

Last Link on page only work with double-tap

Open xstable opened this issue 7 years ago • 1 comments

I have a strange issue. Links in the Page work well, but the last Link on a Page only work if I tap on the very top-line of the Font of the link. See Gif: lastlink_bug

xstable avatar Oct 18 '18 11:10 xstable

This seems like it might be "fixed" by adding a lineHeight to increase the clickable area:

<HTMLView
	value={product.content}
	stylesheet={{
		a:{
			lineHeight: 21,
			color: '#45b6fe',
		},
	}}
	onLinkPress={async (url) => await WebBrowser.openBrowserAsync(url)}
/>

CyberCyclone avatar Aug 31 '21 05:08 CyberCyclone