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

feat: press tab on current input field to focus the next input field #3754

Conversation

anwarulislam
Copy link
Member

@anwarulislam anwarulislam commented Jan 17, 2024

Closes HFE-385

Description

This PR modifies the keyboard event handling in the EnvInput.vue component.

  • Pressing the Tab will focus the next input field for better accessibility
  • Previously, an enter event was emitted to hide suggestions popover and run request at the same time while Tab was used to select and hide suggestions popover. Now, Tab will do its default behavior. Enter will select the suggestion from the suggestions list and emit the event to run the request when the suggestions popover is not opened.

Status

  • Not Completed
  • Completed

@anwarulislam anwarulislam reopened this Jan 17, 2024
@anwarulislam anwarulislam marked this pull request as ready for review January 17, 2024 00:56
Copy link
Member

@liyasthomas liyasthomas left a comment

Choose a reason for hiding this comment

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

LGTM 💯

Copy link
Contributor

@JoelJacobStephen JoelJacobStephen left a comment

Choose a reason for hiding this comment

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

Have a look at the comment below. Just a minor nitpick. Other than that, LGTM

@AndrewBastin AndrewBastin changed the base branch from release/2023.12.2 to release/2023.12.3 January 23, 2024 16:44
@AndrewBastin AndrewBastin merged commit b81ccb4 into hoppscotch:release/2023.12.3 Jan 23, 2024
1 check passed
Copy link

@San-77x San-77x left a comment

Choose a reason for hiding this comment

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

--

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

6 participants