Skip to content

Commit

Permalink
Adding missing setPopupPosition(left, top); (#11902)
Browse files Browse the repository at this point in the history
* Adding missing setPopupPosition(left, top);

setPopupPosition(left, top); needs to be called in order to top position to be set

Fixes #11894
  • Loading branch information
TatuLund authored and ZheSun88 committed Mar 2, 2020
1 parent 1ddba63 commit e8bdfc5
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 e8bdfc5

Please sign in to comment.