Skip to content

Commit

Permalink
Adding missing setPopupPosition(left, top);
Browse files Browse the repository at this point in the history
setPopupPosition(left, top); needs to be called in order to top position to be set

Fixes #11894
  • Loading branch information
TatuLund committed Feb 27, 2020
1 parent 3df3420 commit ca5303a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/main/java/com/vaadin/client/ui/VComboBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,7 @@ public void setPosition(int offsetWidth, int offsetHeight) {
// 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
Expand Down

0 comments on commit ca5303a

Please sign in to comment.