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 — Add option to make the dropdown menu clickable #33389

Merged
merged 7 commits into from
Apr 20, 2021
Merged
Prev Previous commit
Next Next commit
Update dropdown.js
  • Loading branch information
XhmikosR authored and rohit2sharma95 committed Apr 18, 2021
commit 0d916e119493d3777d7ea6fc721efdc18934ffeb
1 change: 0 additions & 1 deletion js/src/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ class Dropdown extends BaseComponent {
})
}

// eslint-disable-next-line complexity
static clearMenus(event) {
if (event) {
if (event.button === RIGHT_MOUSE_BUTTON || (event.type === 'keyup' && event.key !== TAB_KEY)) {
Expand Down