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

Keyword search and its highlighting #168

Open
akacaijizhou opened this issue Jan 2, 2025 · 1 comment
Open

Keyword search and its highlighting #168

akacaijizhou opened this issue Jan 2, 2025 · 1 comment

Comments

@akacaijizhou
Copy link

Hello author
Problem reproduction:

  1. When I use keyword search on the first page and switch pages several times, when I return to the first page, the highlights of other pages will also exist. At the same time, there will be incorrect highlighting information in the @ highlight="onHighlight" callback. I hope to add the current PageIndex to highlightMatches to limit it
    When I quickly switch page numbers, if there is a value for highlightText, onHighlight will continue to output logs from other pages after I switch to the first page. I hope to cancel the previous onHighlight event when switching
@akacaijizhou
Copy link
Author

image

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