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

Dropdown key events handling fix - v5 #30529

Closed
wants to merge 5 commits into from

Conversation

luktom
Copy link

@luktom luktom commented Apr 7, 2020

Please see #30510 for details. Two new unit tests added. "npm run test" was finished without errors.

It was needed to add following fix from v4: #28912. After this cyclomatic complexity of dataApiKeydownHandler was higher than allowed in your ESLint configuration, so I extracted _isDropDownCommand method.

Additionally I fix some by catch error of variables assignment in "should ignore keyboard events for s and <textarea>s within dropdown-menu, except for escape key" test.

Fixes #30510

@XhmikosR
Copy link
Member

XhmikosR commented Apr 8, 2020

Thanks for the PR.

That being said, the ESLint issue is just a warning that could be tackled in a separate commit or PR.

@XhmikosR
Copy link
Member

@luktom can you fetch upstream and rebase please?

@luktom
Copy link
Author

luktom commented Apr 17, 2020

@XhmikosR conflicts with master resolved.

@XhmikosR XhmikosR requested a review from Johann-S April 18, 2020 06:05
@mdo mdo changed the base branch from master to main June 16, 2020 20:02
@XhmikosR
Copy link
Member

@luktom can you try a proper rebase + squash and not a merge commit?

@XhmikosR
Copy link
Member

Closing due to lack of response. If you can, please make a new clean PR later.

@XhmikosR XhmikosR closed this Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropdowns: key events are not propagated from inactive and disabled dropdowns
2 participants