Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/select/select.js
Original file line number Diff line number Diff line change
@@ -1058,7 +1058,7 @@ function SelectProvider($$interimElementProvider) {
});
ev.preventDefault();
}
checkCloseMenu();
checkCloseMenu(ev);
break;
case keyCodes.TAB:
case keyCodes.ESCAPE:
@@ -1122,7 +1122,7 @@ function SelectProvider($$interimElementProvider) {
*/
function mouseOnScrollbar() {
var clickOnScrollbar = false;
if(ev.currentTarget.children.length > 0) {
if(ev && (ev.currentTarget.children.length > 0)) {
var child = ev.currentTarget.children[0];
var hasScrollbar = child.scrollHeight > child.clientHeight;
if (hasScrollbar && child.children.length > 0) {

0 comments on commit 925301f

Please sign in to comment.