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

Accordion: nested inputs loose focus when pressing arrow keys #14105

Closed
vinlos opened this issue Nov 13, 2023 · 1 comment · Fixed by #14117
Closed

Accordion: nested inputs loose focus when pressing arrow keys #14105

vinlos opened this issue Nov 13, 2023 · 1 comment · Fixed by #14117
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@vinlos
Copy link

vinlos commented Nov 13, 2023

Describe the bug

When we nest any kind of input (multiselect, select, autocomplete...) inside an accordion and we use arrow keys to select any entry, the input looses the focus in favour of accordion tab header.

Environment

Ubuntu linux
VsCode

Reproducer

https://stackblitz.com/edit/github-ykowfu?file=src%2Fapp%2Fapp.component.html

Angular version

16.2.12

PrimeNG version

16.6.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.16.1

Browser(s)

No response

Steps to reproduce the behavior

  1. Open stackblitz live snippet
  2. Type something in autocomplete input
  3. Press "arrow-down" to select an entry

it's impossible to select an entry because the input looses the focus

Expected behavior

input should keep the focus and allows to select an entry using arrow keys

@vinlos vinlos added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 13, 2023
@cetincakiroglu cetincakiroglu added this to the 16.8.0 milestone Nov 14, 2023
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 14, 2023
mehmetcetin01140 added a commit that referenced this issue Nov 15, 2023
@Gykonik
Copy link

Gykonik commented Nov 15, 2023

The following issue might also be related #13488

cetincakiroglu added a commit that referenced this issue Nov 15, 2023
Fixed #14105 - AutoComplete && MultiSelect | Fixed focus loose when p…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants