diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2013-02-05 14:32:51 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-02-05 14:32:51 +0000 |
commit | a90ab60d8f6a7bcdfad46a3d1c323c225d711d68 (patch) | |
tree | f33bed8bfb39ad38f7809bfddd50780cce492158 /client/src | |
parent | 799a969b087771d102d9a3f835ba4d73bc0445ad (diff) | |
parent | a915f6fd1f03efcf7c04dc383d1a076ca46f4b3d (diff) | |
download | vaadin-framework-a90ab60d8f6a7bcdfad46a3d1c323c225d711d68.tar.gz vaadin-framework-a90ab60d8f6a7bcdfad46a3d1c323c225d711d68.zip |
Merge "Merge of (#10766) to Vaadin 7." into 7.0
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/com/vaadin/client/ui/VFilterSelect.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VFilterSelect.java b/client/src/com/vaadin/client/ui/VFilterSelect.java index d493386beb..cea3489b42 100644 --- a/client/src/com/vaadin/client/ui/VFilterSelect.java +++ b/client/src/com/vaadin/client/ui/VFilterSelect.java @@ -1663,8 +1663,10 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler, tabPressedWhenPopupOpen = false; suggestionPopup.menu.doSelectedItemAction(); suggestionPopup.hide(); - } else if (!suggestionPopup.isAttached() + } else if ((!suggestionPopup.isAttached() && waitingForFilteringResponse) || suggestionPopup.isJustClosed()) { + // typing so fast the popup was never opened, or it's just + // closed suggestionPopup.menu.doSelectedItemAction(); } if (selectedOptionKey == null) { |