Skip to content

Fix/text highlight special char #1275

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

Merged
merged 2 commits into from
Apr 27, 2021
Merged

Conversation

mendyEdri
Copy link
Contributor

Description

Fix issue caused by using lodash lowerCase function, that is not recognizing some special characters ('@' '.' and maybe more).
The outcome was when passing highlightString prop to Text component with special char, it entered a endless loop.

Changelog

Fix Text prop - highlightString issue with special characters leading to an infinite loop.

@ethanshar ethanshar merged commit 6c27caf into master Apr 27, 2021
@mendyEdri mendyEdri deleted the fix/text-highlight-special-char branch June 10, 2021 07:30
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.

2 participants