Merge pull request #4733 from FlipWarthog/PV4732
Fix #4732 - Calendar: Console.Error/Crash when pressing Escape key using Inline Calendarpull/4753/head
commit
b3d86ba99f
|
@ -2652,8 +2652,11 @@ export default {
|
|||
onOverlayKeyDown(event) {
|
||||
switch (event.code) {
|
||||
case 'Escape':
|
||||
if (!this.inline) {
|
||||
this.input.focus();
|
||||
this.overlayVisible = false;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue