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(language-select): Fix filtering of language select options #813

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

MonkeyDo
Copy link
Member

Problem

The select is crazy slow on older browsers due to issues with filtering the gigantic list of options.
The default filtering of react-select is inefficient

Solution

Using the library react-select-fast-filter-options fixes the issue.
It uses js-search under the hood which is more efficient.

Areas of Impact

src/client/entity-editor/common/language-field.tsx
package.json and yarn lockfile

The select is crazy slow on older browsers due to issues with filtering the gigantic list of options.
With the react-select-fast-filter-options library this is easily fixed.
@tr1ten
Copy link
Collaborator

tr1ten commented Mar 16, 2022

seems good to me :)

@MonkeyDo MonkeyDo merged commit cb6c700 into master Mar 16, 2022
@MonkeyDo MonkeyDo deleted the monkey-hotfix-language-select branch March 16, 2022 15:26
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