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

Refocus SearchField input field on clear button click #953

Merged
merged 4 commits into from
Dec 10, 2021

Conversation

reesscot
Copy link
Contributor

@reesscot reesscot commented Dec 7, 2021

Issue #, if available:
Closes #848

Description of changes:
This PR adds behavior of refocusing the search input field when a user clicks the clear button so that a user can reenter their search query.

2021-12-07 11 59 51

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aws-amplify-us-east-2
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-953.d3inl0muob87le.amplifyapp.com

@changeset-bot
Copy link

changeset-bot bot commented Dec 7, 2021

🦋 Changeset detected

Latest commit: 9412078

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@aws-amplify/ui-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@aws-amplify-us-east-2
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-953.d3inl0muob87le.amplifyapp.com

@reesscot reesscot temporarily deployed to ci December 7, 2021 21:28 Inactive
@reesscot reesscot temporarily deployed to ci December 7, 2021 21:28 Inactive
@reesscot reesscot temporarily deployed to ci December 7, 2021 21:28 Inactive
@reesscot reesscot temporarily deployed to ci December 7, 2021 21:53 Inactive
@reesscot reesscot force-pushed the refocus-search-field branch from 96c3e46 to db13a4e Compare December 10, 2021 00:35
@aws-amplify-us-east-2
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-953.d3inl0muob87le.amplifyapp.com

@reesscot reesscot temporarily deployed to ci December 10, 2021 00:46 Inactive
@reesscot reesscot temporarily deployed to ci December 10, 2021 00:46 Inactive
@reesscot reesscot temporarily deployed to ci December 10, 2021 00:46 Inactive
@reesscot reesscot enabled auto-merge (squash) December 10, 2021 00:50
@reesscot reesscot temporarily deployed to ci December 10, 2021 01:10 Inactive
@reesscot reesscot merged commit b1418ba into main Dec 10, 2021
@reesscot reesscot deleted the refocus-search-field branch December 10, 2021 01:16
@github-actions github-actions bot mentioned this pull request Dec 10, 2021
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.

feature request: SearchField should re-focus input field on clear
2 participants