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

fix(highlight): Change highlight to track by index #4696

Closed
wants to merge 1 commit into from

Conversation

kryVDH
Copy link

@kryVDH kryVDH commented May 13, 2024

Change track statement in highlight.ts to use $index instead of part.

The current statement causes performance issues and even browser crashes when running a large number of strings with the same characters repeated in a typeahead.

@kryVDH kryVDH changed the title Change highlight to track by index fix(highlight): Change highlight to track by index May 13, 2024
@maxokorokov
Copy link
Member

Argh, sorry, I have seen #4707 first and merged it already :/
Thanks for the PR anyway!

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

Successfully merging this pull request may close these issues.

None yet

2 participants