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 search box hover behavior replacing input text #4026

Closed
wants to merge 1 commit into from

Conversation

dubeanant
Copy link
Contributor

Description:
This PR addresses an issue where hovering over options in the search box replaces the search query with the block's name, even if the option hasn’t been selected yet. This unintended behavior disrupts the user’s search input and creates a frustrating experience.
The fix ensures that the search query remains intact until an option is explicitly selected. It refines the search box functionality for smoother user interaction and prevents unwanted input replacement while browsing search results.

Changes:
Adjusted the focus event behavior in the search function to prevent the hover action from replacing the input field prematurely.

Screen Recording:

Screen.Recording.2024-10-03.133844.mp4

Fixes:
Closes #4024

Additional Notes:
Tested thoroughly to ensure that the search functionality behaves as expected. Please review and merge if it aligns with the expected behavior.

@dubeanant dubeanant closed this Oct 3, 2024
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.

Search Query Replaced by Hovered Block Name Before Selection in Block Search
1 participant