Skip to content

[Autocomplete]: Pressing Tab while the dropdown is open does not move the focus to the next element #16649

@RivaIvanova

Description

@RivaIvanova

Description

Introduced by this feature request since keydown changes were made to the IgxDropDownItemNavigationDirective, which is extended by the IgxAutocompleteDirective.

Before: Closing the dropdown and moving to the next focusable element requires pressing the Tab key once.

Image

After: Closing the dropdown and moving to the next focusable element requires pressing the Tab key twice. First Tab closes the dropdown, second tab moves the focus.

Image

  • igniteui-angular version: master, 21.0.x, 20.1.x
  • browser:

Steps to reproduce

  1. Open Autocomplete sample.
  2. Click the input, write something so that the dropdown opens, and click Tab.

Result

The dropdown is closed, and the focus remains on the input.

Expected result

The dropdown should be closed, and the focus should be set on the next focusable element.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions