Enhance Search Block with Live Results Dropdown#69755
Enhance Search Block with Live Results Dropdown#69755sarthaknagoshe2002 wants to merge 2 commits intoWordPress:trunkfrom
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
This PR doesn't introduce the settings mentioned in the issue since I don't think inline script is the right way. View.js can't be used in this case since it is already used as script module for interactivity API. A new JS file can be registered & enqueued in this case. I would love to hear some feedbacks on this before proceeding with the aforementioned solutions. |
What?
This PR enhances the search block by introducing a live results dropdown.
Closes #62421
Why?
Currently, WordPress search lacks real-time feedback while typing. This feature improves the user experience by:
How?
Live Search Results Dropdown:
Testing Instructions
Screenshots or screencast
Screen.Recording.2025-03-29.at.10.31.22.PM.mov