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

Focus add item #35

Open
wants to merge 58 commits into
base: main
Choose a base branch
from
Open

Focus add item #35

wants to merge 58 commits into from

Conversation

CorinaMurg
Copy link
Collaborator

@CorinaMurg CorinaMurg commented Oct 8, 2023

Description

The goal was to bring focus back to the input field after every submission.

Acceptance Criteria

  • Pressing the Enter key or the Add Item button on the AddItem page should always bring the focus back to the input field.

Type of Changes

Type
βœ“ πŸ› Bug fix
✨ New feature
πŸ”¨ Refactoring
πŸ’― Add tests
πŸ”— Update dependencies
πŸ“œ Docs

Testing Steps / QA Criteria

To pull the branch locally, run git pull origin focus-add-item
Next, run git checkout focus-add-item
Install dependencies npm install
Launch the app with npm start

  • Enter several items, one at a time.
  • Alternate between pressing the Enter key or the Add Item button.
  • The focus should always be back to the input field.

shangguanwang and others added 30 commits September 27, 2023 14:54
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Visit the preview URL for this PR (updated for commit 131787c):

https://tcl-63-smart-shopping-list--pr35-focus-add-item-i7wvtxv7.web.app

(expires Sun, 15 Oct 2023 03:41:28 GMT)

πŸ”₯ via Firebase Hosting GitHub Action 🌎

Sign: 33cd697c9ae2cd133e732431f4d096ea24d56582

Copy link
Collaborator

@shangguanwang shangguanwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job spotting the focus!!

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.

None yet

4 participants