Automattic / Automattic/jetpack
Instant Search: wait until text edit is complete before spawning overlay
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Steps to reproduce the issue
1. Go to a site with Instant Search enabled.
2. Type in a query in an input box, like 'huskies'
3. Close the modal
4. Delete one character of the search term
#### What I expected
The search modal is not spawned until I've completed my edit (e.g. deleted 3 characters).
#### What happened instead
The search modal is speedily spawned immediately after I type or delete each character.
Discovered while testing https://github.com/Automattic/jetpack/pull/18574.

Contributor guide
Research direction
Start by reproducing the listed sequence on a site with Instant Search enabled and observe when the modal appears after editing the query. The work is done when the modal waits until the text edit is complete rather than spawning after each typed or deleted character.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100