Fixed #940 - Calendar component throws error on blur if popup is not visible
parent
6eef094761
commit
8e98c79e86
|
@ -1987,7 +1987,10 @@ export default {
|
|||
}
|
||||
}
|
||||
else if (event.keyCode === 9) {
|
||||
DomHandler.getFocusableElements(this.overlay).forEach(el => el.tabIndex = '-1');
|
||||
if (this.overlay) {
|
||||
DomHandler.getFocusableElements(this.overlay).forEach(el => el.tabIndex = '-1');
|
||||
}
|
||||
|
||||
if (this.overlayVisible) {
|
||||
this.overlayVisible = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue