diff options
author | Tatu Lund <tatu@vaadin.com> | 2020-03-02 08:43:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 08:43:38 +0200 |
commit | d9c4969c4c32781cf65c1ea604bc96aecd85bfbf (patch) | |
tree | 083101536f35d04e824806ac1742f875677598f3 /client | |
parent | 3df3420f9e3952f8a32e3d9ccbf9120eda29b75e (diff) | |
download | vaadin-framework-d9c4969c4c32781cf65c1ea604bc96aecd85bfbf.tar.gz vaadin-framework-d9c4969c4c32781cf65c1ea604bc96aecd85bfbf.zip |
Adding missing setPopupPosition(left, top); (#11902)
* Adding missing setPopupPosition(left, top);
setPopupPosition(left, top); needs to be called in order to top position to be set
Fixes https://github.com/vaadin/framework/issues/11894
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/VComboBox.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VComboBox.java b/client/src/main/java/com/vaadin/client/ui/VComboBox.java index c7fe9e14be..140d8e3ce4 100644 --- a/client/src/main/java/com/vaadin/client/ui/VComboBox.java +++ b/client/src/main/java/com/vaadin/client/ui/VComboBox.java @@ -906,6 +906,7 @@ public class VComboBox extends Composite implements Field, KeyDownHandler, // ComboBox itself may be incorrectly positioned, don't adjust // popup position yet. Width calculations must be performed // anyway to avoid flickering. + setPopupPosition(left, top); return; } if (left > comboBoxLeft |