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 screen reader / autosuggest [DDFLSBP-624] #1284

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

clausbruun
Copy link
Contributor

clausbruun and others added 5 commits June 6, 2024 14:13
… to avoid unnecessary re-renders, and resolve screen reader confusion.
This q internal state is used to store the query string
without requesting the search service. This is used to keep the query
string in the search field when the user clicks on the autosuggest
item.
We also want to make sure that we don't rerender the component when
the user clicks on the autosuggest item, because it confuses
screen readers. So that is why we are NOT using `setState`.
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