Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link component doesn't click when nested within Text #2770

Open
dssung opened this issue May 31, 2024 · 0 comments
Open

Link component doesn't click when nested within Text #2770

dssung opened this issue May 31, 2024 · 0 comments

Comments

@dssung
Copy link

dssung commented May 31, 2024

Describe the bug

  • When a <Link /> component is nested in <Text />, it no longer seems to be able to click
  • It also doesn't seem to be clickable by itself

To Reproduce

  1. Go to https://v2.react-pdf.org/repl
  2. Add <Link src="https://www.nba.com">This is a link</Link> within a text component or anywhere within the file
  3. Try to click

Expected behavior

  • Links should be able to click when nested within a Text component

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac OS
  • Browser: Firefox
  • React-pdf version: 2.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant