File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -649,9 +649,6 @@ class Input extends UI5Element {
649
649
// Mark that the selection has been canceled, so the popover can close
650
650
// and not reopen, due to receiving focus.
651
651
this . suggestionSelectionCanceled = true ;
652
-
653
- // Close suggestion popover
654
- this . _closeRespPopover ( true ) ;
655
652
}
656
653
}
657
654
Original file line number Diff line number Diff line change @@ -445,8 +445,17 @@ describe("Input general interaction", () => {
445
445
446
446
const staticAreaItemClassName = browser . getStaticAreaItemClassName ( "#inputInDialog" ) ;
447
447
const popover = browser . $ ( `.${ staticAreaItemClassName } ` ) . shadow$ ( "ui5-responsive-popover" ) ;
448
+ const dialog = browser . $ ( "#inputInDialog" ) ;
448
449
449
450
//assert
450
451
assert . ok ( popover . isDisplayedInViewport ( ) , "The popover is visible" ) ;
452
+
453
+ // act
454
+ input . keys ( "ArrowDown" ) ;
455
+ browser . keys ( "Escape" ) ;
456
+
457
+ // assert
458
+ assert . notOk ( popover . isDisplayedInViewport ( ) , "The popover is not visible" ) ;
459
+ assert . ok ( dialog . isDisplayedInViewport ( ) , "The dialog is opened." ) ;
451
460
} ) ;
452
461
} ) ;
You can’t perform that action at this time.
0 commit comments