-
Notifications
You must be signed in to change notification settings - Fork 67
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
Added Enter to search functionality in posts page #561
Added Enter to search functionality in posts page #561
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
Remove the console.log comment |
Okk I'll do it |
@VaibhavArora314 removed comment |
🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀 |
Pull Request
Title
Added press Enter to search functionality in posts page
Description
Previously, in posts section, while searching for a post we have to click on "search" button to search for a specific keyword post.
I added functionality so that, we can directly type our keyword and hit "ENTER" to search, thus improving user experience.
Related Issues
Fixes #549
Changes Made
Added a key event in searchbox which is triggered when ENTER key is pressed, calling the "handleSubmit" function which then takes care of fetching relevant posts.
Checklist
Screenshots (if applicable)
Added.Enter.to.search.functionality.in.posts.page.by.Sourabh782.Pull.Request.561.VaibhavArora314_StyleShare.-.Google.Chrome.2024-08-04.10-27-13.1.mp4
Additional Notes
Footer
Thanks for assigning me this issue.