Skip to content

Search for users when focus on input

Eduardo Sanz García requested to merge eduardosanz/seach-on-focus into master

What does this MR do and why?

When inviting members to a group or project, when focusing on the input field it searches for users.

Apparently, previously there some short of autofocus in the search input field. In that situation searching for users automatically was undesired. However, currently, we don't see any autofocus on the search input field, so we enable the search on focus.

Changelog: changed

Screenshots or screen recordings

Before After
Screen_Recording_2023-11-30_at_14.09.34 Screen_Recording_2023-11-30_at_14.07.29

Tested in Chrome, Safari, Firefox and mobile.

How to set up and validate locally

  1. On the supernavigation bar, select Invite team member
  2. Focus on the search input. You should see a list of users.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports