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

HOTT-4532 Remove tabkey submission of search box #1810

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jebw
Copy link
Contributor

@jebw jebw commented Jan 18, 2024

Jira link

HOTT-4532

What?

I have added/removed/altered:

  • Dropped submitting the searchbox when the user presses the tab key
  • Reworked search input event handling

Why?

I am doing this because:

  • This approach avoids trying to parse the q query param value out of the html accessible option content which is always going to be error prone at best

  • This removes several race conditions with change events occurring after submit events, multiple submit events firing etc

  • This greatly simplifies search input event handling

  • Avoids trying to parse the q query param value out of the html accessible option content which is always going to be error prone at best

  • Also removes several race conditions with change events occurring after submit events, etc

Have you? (optional)

  • Validated mobile responsive behaviour of view changes

Deployment risks (optional)

  • Medium, reworks search field on home page

This greatly simplifies search input event handling

* Avoids trying to parse the `q` query param value out of the html
  accessible option content which is always going to be error prone at
  best

* Also removes several race conditions with change events occurring
  after submit events, etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant