We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dropdown should be closed when pressing Enter / Space and dropdown item is focused, but it's not
Stackblitz with both ng-bootstrap and bootstrap dropdowns to compare:
https://stackblitz.com/edit/angular-uahpzh?file=index.html
To reproduce:
ng-bootstrap
ng-bootstrap: 4.1.1
The text was updated successfully, but these errors were encountered:
fix(dropdown): close dropdown menu on Enter / Space
0b8af1e
Fixes ng-bootstrap#3142
78da8cf
b6a7ee9
fix(dropdown): close dropdown menu on Enter / Space (#3180)
5163d03
Fixes #3142
FYI this fix breaks (keyup.enter) binding. (keyup.enter)="handleSelect()" is now never called. I had to change to (keydown.enter) to make this work.
(keyup.enter)
(keyup.enter)="handleSelect()"
(keydown.enter)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug description:
Dropdown should be closed when pressing Enter / Space and dropdown item is focused, but it's not
Link to minimally-working StackBlitz that reproduces the issue:
Stackblitz with both ng-bootstrap and bootstrap dropdowns to compare:
https://stackblitz.com/edit/angular-uahpzh?file=index.html
To reproduce:
ng-bootstrap
button with keyboardVersions of Angular, ng-bootstrap and Bootstrap:
ng-bootstrap: 4.1.1
The text was updated successfully, but these errors were encountered: