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

highlighter broken on on line change with hyphen #1927

Open
4 tasks done
jzhao62 opened this issue Dec 20, 2024 · 0 comments
Open
4 tasks done

highlighter broken on on line change with hyphen #1927

jzhao62 opened this issue Dec 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jzhao62
Copy link

jzhao62 commented Dec 20, 2024

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

highlighter not workling correctly with hyphen

Steps to reproduce

sample-2024-12-20_01.37.46.mp4

Expected behavior

the above part should be highlighted

Actual behavior

its not highlighted :(

Additional information

No response

Environment

  • Browser (if applicable):
  • React-PDF version:
  • React version:
  • Bundler name and version (if applicable):
@jzhao62 jzhao62 added the bug Something isn't working label Dec 20, 2024
@jzhao62 jzhao62 changed the title highlighter broken on on line change highlighter broken on on line change with hyphen Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant