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

Keyboard control of dropdown with input is not working #37073

Closed
3 tasks done
crdo opened this issue Sep 2, 2022 · 3 comments
Closed
3 tasks done

Keyboard control of dropdown with input is not working #37073

crdo opened this issue Sep 2, 2022 · 3 comments
Labels

Comments

@crdo
Copy link
Contributor

crdo commented Sep 2, 2022

Prerequisites

Describe the issue

If you wrap an input with dropdown, the UP/DOWN control of dropdown-items is no longer working.
It was working fine on 5.1.3.

Reduced test cases

https://waetie.stackblitz.io

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome, Safari, Microsoft Edge

What version of Bootstrap are you using?

5.2

@crdo
Copy link
Contributor Author

crdo commented Sep 2, 2022

Found out that you have a unit test "Dropdown data-api should ignore keyboard events for s and <textarea>s within dropdown-menu, except for escape key FAILED".
What is the reason for that? Why do you ignore UP/DOWN for inputs?

@crdo
Copy link
Contributor Author

crdo commented Sep 2, 2022

Talking about this line...

if (isInput && !isEscapeEvent) {

@RobiNN1
Copy link

RobiNN1 commented Sep 4, 2022

They won't fix this #36598

@crdo crdo closed this as completed Sep 5, 2022
@crdo crdo reopened this Sep 5, 2022
@crdo crdo closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants